mirror of
https://github.com/bitcoin/bitcoin.git
synced 2025-11-25 21:39:05 +01:00
scripted-diff: [test] Rename BIP125_SEQUENCE_NUMBER to MAX_BIP125_RBF_SEQUENCE
-BEGIN VERIFY SCRIPT- sed -i 's:BIP125_SEQUENCE_NUMBER:MAX_BIP125_RBF_SEQUENCE:g' $(git grep -l BIP125_SEQUENCE_NUMBER ./test) -END VERIFY SCRIPT-
This commit is contained in:
@@ -8,7 +8,7 @@ from test_framework.address import key_to_p2wpkh
|
||||
from test_framework.blocktools import COINBASE_MATURITY
|
||||
from test_framework.key import ECKey
|
||||
from test_framework.test_framework import BitcoinTestFramework
|
||||
from test_framework.messages import BIP125_SEQUENCE_NUMBER
|
||||
from test_framework.messages import MAX_BIP125_RBF_SEQUENCE
|
||||
from test_framework.util import (
|
||||
assert_array_result,
|
||||
assert_equal,
|
||||
@@ -346,7 +346,7 @@ class ListSinceBlockTest(BitcoinTestFramework):
|
||||
dest_address = spending_node.getnewaddress()
|
||||
|
||||
tx_input = dict(
|
||||
sequence=BIP125_SEQUENCE_NUMBER, **next(u for u in spending_node.listunspent()))
|
||||
sequence=MAX_BIP125_RBF_SEQUENCE, **next(u for u in spending_node.listunspent()))
|
||||
rawtx = spending_node.createrawtransaction(
|
||||
[tx_input], {dest_address: tx_input["amount"] - Decimal("0.00051000"),
|
||||
spending_node.getrawchangeaddress(): Decimal("0.00050000")})
|
||||
|
||||
Reference in New Issue
Block a user