aboutsummaryrefslogtreecommitdiff
path: root/test/functional/feature_rbf.py
diff options
context:
space:
mode:
authorMarcoFalke <[email protected]>2020-04-22 09:06:28 -0400
committerMarcoFalke <[email protected]>2020-04-22 09:00:56 -0400
commitfaff9e4bb431919a4bc7e4dc4a9ca188e2d18113 (patch)
treea4a40705a8dc1955692cfd533e81428d340105bd /test/functional/feature_rbf.py
parentMerge #18410: Docs: Improve commenting for coins.cpp|h (diff)
downloaddiscoin-faff9e4bb431919a4bc7e4dc4a9ca188e2d18113.tar.xz
discoin-faff9e4bb431919a4bc7e4dc4a9ca188e2d18113.zip
test: Remove unused, undocumented and misleading CScript.__add__
Diffstat (limited to 'test/functional/feature_rbf.py')
-rwxr-xr-xtest/functional/feature_rbf.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/functional/feature_rbf.py b/test/functional/feature_rbf.py
index 9e578f002..acf551ef6 100755
--- a/test/functional/feature_rbf.py
+++ b/test/functional/feature_rbf.py
@@ -10,7 +10,7 @@ from test_framework.messages import COIN, COutPoint, CTransaction, CTxIn, CTxOut
from test_framework.script import CScript, OP_DROP
from test_framework.test_framework import BitcoinTestFramework
from test_framework.util import assert_equal, assert_raises_rpc_error, satoshi_round
-from test_framework.script_util import DUMMY_P2WPKH_SCRIPT
+from test_framework.script_util import DUMMY_P2WPKH_SCRIPT, DUMMY_2_P2WPKH_SCRIPT
MAX_REPLACEMENT_LIMIT = 100
@@ -142,7 +142,7 @@ class ReplaceByFeeTest(BitcoinTestFramework):
# Should fail because we haven't changed the fee
tx1b = CTransaction()
tx1b.vin = [CTxIn(tx0_outpoint, nSequence=0)]
- tx1b.vout = [CTxOut(1 * COIN, DUMMY_P2WPKH_SCRIPT + b'a')]
+ tx1b.vout = [CTxOut(1 * COIN, DUMMY_2_P2WPKH_SCRIPT)]
tx1b_hex = txToHex(tx1b)
# This will raise an exception due to insufficient fee