aboutsummaryrefslogtreecommitdiff
path: root/test/functional/p2p_segwit.py
diff options
context:
space:
mode:
authorSuhas Daftuar <sdaftuar@gmail.com>2019-01-17 16:50:50 -0500
committerSuhas Daftuar <sdaftuar@gmail.com>2019-01-22 12:18:45 -0500
commita36d97d866e8a11f205d07c624ace7c3d1a2ded8 (patch)
treea1baad5b3e19d631367a04469e9a40099c10dac6 /test/functional/p2p_segwit.py
parent19c60ca4975d5cf3847d5ba43c65eb02462c2d0f (diff)
downloadbitcoin-a36d97d866e8a11f205d07c624ace7c3d1a2ded8.tar.xz
Default -whitelistforcerelay to off
Diffstat (limited to 'test/functional/p2p_segwit.py')
-rwxr-xr-xtest/functional/p2p_segwit.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/functional/p2p_segwit.py b/test/functional/p2p_segwit.py
index d95da227e5..8f8e89cf15 100755
--- a/test/functional/p2p_segwit.py
+++ b/test/functional/p2p_segwit.py
@@ -755,7 +755,7 @@ class SegWitTest(BitcoinTestFramework):
spend_tx.vin[0].scriptSig = CScript([p2wsh_pubkey, b'a'])
spend_tx.rehash()
with self.nodes[0].assert_debug_log(
- expected_msgs=('Not relaying invalid transaction {}'.format(spend_tx.hash), 'was not accepted: mandatory-script-verify-flag-failed (Script evaluated without error but finished with a false/empty top stack element)')):
+ expected_msgs=(spend_tx.hash, 'was not accepted: mandatory-script-verify-flag-failed (Script evaluated without error but finished with a false/empty top stack element)')):
test_transaction_acceptance(self.nodes[0], self.test_node, spend_tx, with_witness=False, accepted=False)
# Now put the witness script in the witness, should succeed after