diff options
author | John Newbery <john@johnnewbery.com> | 2019-10-10 11:19:42 -0400 |
---|---|---|
committer | John Newbery <john@johnnewbery.com> | 2019-10-10 11:19:42 -0400 |
commit | 0053e16714323c1694c834fdca74f064a1a33529 (patch) | |
tree | 64cf4fc218b010678a52000a09c3e4fd79f5d258 /test/functional/p2p_dos_header_tree.py | |
parent | a1a07cfe99fc8cee30ba5976dc36b47b1f6532ab (diff) |
[logging] Don't log REJECT code when transaction is rejected
Remove the BIP61 REJECT code from error messages and logs when a
transaction is rejected.
BIP61 support was removed from Bitcoin Core in
fa25f43ac5692082dba3f90456c501eb08f1b75c. The REJECT codes will be
removed from the codebase entirely in the following commit.
Diffstat (limited to 'test/functional/p2p_dos_header_tree.py')
-rwxr-xr-x | test/functional/p2p_dos_header_tree.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/functional/p2p_dos_header_tree.py b/test/functional/p2p_dos_header_tree.py index 7d386c47f6..6676b84e54 100755 --- a/test/functional/p2p_dos_header_tree.py +++ b/test/functional/p2p_dos_header_tree.py @@ -57,7 +57,7 @@ class RejectLowDifficultyHeadersTest(BitcoinTestFramework): } in self.nodes[0].getchaintips() self.log.info("Feed all fork headers (fails due to checkpoint)") - with self.nodes[0].assert_debug_log(['bad-fork-prior-to-checkpoint (code 67)']): + with self.nodes[0].assert_debug_log(['bad-fork-prior-to-checkpoint']): self.nodes[0].p2p.send_message(msg_headers(self.headers_fork)) self.nodes[0].p2p.wait_for_disconnect() |