diff options
author | Jorge Timón <jtimon@jtimon.cc> | 2019-08-22 18:17:31 +0200 |
---|---|---|
committer | Jorge Timón <jtimon@jtimon.cc> | 2019-10-26 13:24:39 +0200 |
commit | 1abcecc40c518a98b7d17880657ec0247abdf125 (patch) | |
tree | b78f9540641279b72e2288e278b54ef08c6c2fcb /test/functional/mempool_persist.py | |
parent | be50469217bd775c4305938634c32e5932f47841 (diff) |
Tests: Use self.chain instead of 'regtest' in almost all current tests
Diffstat (limited to 'test/functional/mempool_persist.py')
-rwxr-xr-x | test/functional/mempool_persist.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/functional/mempool_persist.py b/test/functional/mempool_persist.py index 398fdeb326..5ce23af94f 100755 --- a/test/functional/mempool_persist.py +++ b/test/functional/mempool_persist.py @@ -117,8 +117,8 @@ class MempoolPersistTest(BitcoinTestFramework): wait_until(lambda: self.nodes[0].getmempoolinfo()["loaded"]) assert_equal(len(self.nodes[0].getrawmempool()), 5) - mempooldat0 = os.path.join(self.nodes[0].datadir, 'regtest', 'mempool.dat') - mempooldat1 = os.path.join(self.nodes[1].datadir, 'regtest', 'mempool.dat') + mempooldat0 = os.path.join(self.nodes[0].datadir, self.chain, 'mempool.dat') + mempooldat1 = os.path.join(self.nodes[1].datadir, self.chain, 'mempool.dat') self.log.debug("Remove the mempool.dat file. Verify that savemempool to disk via RPC re-creates it") os.remove(mempooldat0) self.nodes[0].savemempool() |