mirror of
https://github.com/bitcoin/bitcoin.git
synced 2026-04-20 11:49:07 +02:00
Merge bitcoin/bitcoin#28729: addrman: log AS only when using asmap
02a4f1a385addrman: log AS only when using asmap (brunoerg) Pull request description: This PR changes the log to just print the ASN when using asmap, same logic presented in other logs:afa081a39b/src/net_processing.cpp (L3552-L3556)afa081a39b/src/net_processing.cpp (L3598-L3604)ACKs for top commit: naumenkogs: ACK02a4f1a385mzumsande: Code Review ACK02a4f1a385Tree-SHA512: adad5904ab163660d47554b32dc2dc3dfdff8dd64b94e5320ad11706381264d1e338654fa8239430eed4ccbebc8f6670698b4278895794055c37fc4bcefe71bc
This commit is contained in:
@@ -216,7 +216,7 @@ class InvalidMessagesTest(BitcoinTestFramework):
|
||||
self.test_addrv2('unrecognized network',
|
||||
[
|
||||
'received: addrv2 (25 bytes)',
|
||||
'9.9.9.9:8333 mapped',
|
||||
'9.9.9.9:8333',
|
||||
'Added 1 addresses',
|
||||
],
|
||||
bytes.fromhex(
|
||||
|
||||
Reference in New Issue
Block a user