addrman: log AS only when using asmap

This commit is contained in:
brunoerg
2023-10-19 09:37:17 -03:00
parent d53400e75e
commit 02a4f1a385
2 changed files with 7 additions and 5 deletions

View File

@@ -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(