Skip to content

Commit 301fd51

Browse files
committed
[tests] fix replace_by_fee.py
fb915d5 changed the optIntoRbf field in fundrawtransaction to replaceable. This commit fixes up replace-by-fee.py to use the new option name.
1 parent 5af6572 commit 301fd51

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

test/functional/replace-by-fee.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -531,8 +531,8 @@ def test_rpc(self):
531531
assert_equal(json1["vin"][0]["sequence"], 4294967295)
532532

533533
rawtx2 = self.nodes[0].createrawtransaction([], outs)
534-
frawtx2a = self.nodes[0].fundrawtransaction(rawtx2, {"optIntoRbf": True})
535-
frawtx2b = self.nodes[0].fundrawtransaction(rawtx2, {"optIntoRbf": False})
534+
frawtx2a = self.nodes[0].fundrawtransaction(rawtx2, {"replaceable": True})
535+
frawtx2b = self.nodes[0].fundrawtransaction(rawtx2, {"replaceable": False})
536536

537537
json0 = self.nodes[0].decoderawtransaction(frawtx2a['hex'])
538538
json1 = self.nodes[0].decoderawtransaction(frawtx2b['hex'])

0 commit comments

Comments
 (0)