aboutsummaryrefslogtreecommitdiff
path: root/test/functional
diff options
context:
space:
mode:
authorglozow <gzhao408@berkeley.edu>2021-05-26 18:02:00 +0100
committerglozow <gzhao408@berkeley.edu>2021-06-02 09:52:50 +0100
commit5cac95cd15da04b83afa1d31a43be9f5b30a1827 (patch)
tree61241126ddc4a786d303a45a56aaac921c59f7b7 /test/functional
parente8ecc621be6afd3252c0f8147e42c3b4918f7f46 (diff)
disallow_mempool_conflicts -> allow_bip125_replacement and check earlier
Diffstat (limited to 'test/functional')
-rwxr-xr-xtest/functional/rpc_packages.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/test/functional/rpc_packages.py b/test/functional/rpc_packages.py
index 3d8d81d6b8..d0848d9bd6 100755
--- a/test/functional/rpc_packages.py
+++ b/test/functional/rpc_packages.py
@@ -354,7 +354,8 @@ class RPCPackagesTest(BitcoinTestFramework):
# This transaction is a valid BIP125 replace-by-fee
assert testres_rbf_single[0]["allowed"]
testres_rbf_package = self.independent_txns_testres_blank + [{
- "txid": replacement_tx.rehash(), "wtxid": replacement_tx.getwtxid(), "allowed": False, "reject-reason": "txn-mempool-conflict"
+ "txid": replacement_tx.rehash(), "wtxid": replacement_tx.getwtxid(), "allowed": False,
+ "reject-reason": "bip125-replacement-disallowed"
}]
self.assert_testres_equal(self.independent_txns_hex + [signed_replacement_tx["hex"]], testres_rbf_package)