aboutsummaryrefslogtreecommitdiff
path: root/test/functional/replace-by-fee.py
diff options
context:
space:
mode:
authorJohn Newbery <john@johnnewbery.com>2017-07-07 08:41:25 +0100
committerJohn Newbery <john@johnnewbery.com>2017-07-07 08:41:31 +0100
commit301fd51b9e75efda2da3f6e4872c6cff876100ba (patch)
tree2f615a8692870bc38de98f1f1cde8b3561c4e51a /test/functional/replace-by-fee.py
parent5af6572534986bf85f6806e2cc66c1f1f8e3c56c (diff)
[tests] fix replace_by_fee.py
fb915d5b183adb915c72bb11c6f3b418841e3512 changed the optIntoRbf field in fundrawtransaction to replaceable. This commit fixes up replace-by-fee.py to use the new option name.
Diffstat (limited to 'test/functional/replace-by-fee.py')
-rwxr-xr-xtest/functional/replace-by-fee.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/functional/replace-by-fee.py b/test/functional/replace-by-fee.py
index d6bf3ea59f..bc67654987 100755
--- a/test/functional/replace-by-fee.py
+++ b/test/functional/replace-by-fee.py
@@ -531,8 +531,8 @@ class ReplaceByFeeTest(BitcoinTestFramework):
assert_equal(json1["vin"][0]["sequence"], 4294967295)
rawtx2 = self.nodes[0].createrawtransaction([], outs)
- frawtx2a = self.nodes[0].fundrawtransaction(rawtx2, {"optIntoRbf": True})
- frawtx2b = self.nodes[0].fundrawtransaction(rawtx2, {"optIntoRbf": False})
+ frawtx2a = self.nodes[0].fundrawtransaction(rawtx2, {"replaceable": True})
+ frawtx2b = self.nodes[0].fundrawtransaction(rawtx2, {"replaceable": False})
json0 = self.nodes[0].decoderawtransaction(frawtx2a['hex'])
json1 = self.nodes[0].decoderawtransaction(frawtx2b['hex'])