mirror of
https://github.com/bitcoin/bitcoin.git
synced 2025-12-03 17:30:25 +01:00
[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
fa25f43ac5. The REJECT codes will be
removed from the codebase entirely in the following commit.
This commit is contained in:
@@ -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()
|
||||
|
||||
|
||||
Reference in New Issue
Block a user