aboutsummaryrefslogtreecommitdiff
path: root/test/functional
diff options
context:
space:
mode:
authorWladimir J. van der Laan <laanwj@gmail.com>2017-04-10 14:44:16 +0200
committerWladimir J. van der Laan <laanwj@gmail.com>2017-04-10 14:44:22 +0200
commite19586a8a95502ce0f9fb8319ca6456c2ce161b3 (patch)
treeed7e3143228b95dae1541859944b8a648dcdabd7 /test/functional
parenta27dbc55b1aaed971dda75a44cd0f581d28c7516 (diff)
parent5d08c9c579ba8cc7b684105c6a08263992b08d52 (diff)
downloadbitcoin-e19586a8a95502ce0f9fb8319ca6456c2ce161b3.tar.xz
Merge #10135: [p2p] Send the correct error code in reject messages
5d08c9c Send the correct error code in reject messages (John Newbery) Tree-SHA512: 0cd3ef3ae202584b138cc0bbfba4125635822e0c5a755fb9276a604b39286959ab22dabc3104aa5d7e71358cd69d965de2a333ff04bf3e8ed43cf0296ac01264
Diffstat (limited to 'test/functional')
-rwxr-xr-xtest/functional/p2p-fullblocktest.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/functional/p2p-fullblocktest.py b/test/functional/p2p-fullblocktest.py
index 274dbb8a92..e7fe7372c8 100755
--- a/test/functional/p2p-fullblocktest.py
+++ b/test/functional/p2p-fullblocktest.py
@@ -398,7 +398,7 @@ class FullBlockTest(ComparisonTestFramework):
# Extend the b26 chain to make sure bitcoind isn't accepting b26
b27 = block(27, spend=out[7])
- yield rejected(RejectResult(0, b'bad-prevblk'))
+ yield rejected(False)
# Now try a too-large-coinbase script
tip(15)
@@ -410,7 +410,7 @@ class FullBlockTest(ComparisonTestFramework):
# Extend the b28 chain to make sure bitcoind isn't accepting b28
b29 = block(29, spend=out[7])
- yield rejected(RejectResult(0, b'bad-prevblk'))
+ yield rejected(False)
# b30 has a max-sized coinbase scriptSig.
tip(23)