mirror of
https://github.com/bitcoin/bitcoin.git
synced 2025-10-09 19:13:28 +02:00
signet: do not log signet startup messages for other chains
and move signet network magic logging from chainparams.cpp to init.cpp
This commit is contained in:
@@ -65,6 +65,10 @@ class SignetBasicTest(BitcoinTestFramework):
|
||||
|
||||
assert_equal(self.nodes[4].submitblock(signet_blocks[0]), 'bad-signet-blksig')
|
||||
|
||||
self.log.info("test that signet logs the network magic on node start")
|
||||
with self.nodes[0].assert_debug_log(["Signet derived magic (message start)"]):
|
||||
self.restart_node(0)
|
||||
|
||||
|
||||
if __name__ == '__main__':
|
||||
SignetBasicTest().main()
|
||||
|
Reference in New Issue
Block a user