mirror of
https://github.com/aljazceru/lightning.git
synced 2025-12-19 15:14:23 +01:00
routing: Reading multiple addresses from node_announcements
This commit is contained in:
committed by
Rusty Russell
parent
ed9668339d
commit
26892e79bb
@@ -173,6 +173,7 @@ void fromwire_ipaddr(const u8 **cursor, size_t *max, struct ipaddr *addr)
|
||||
}
|
||||
|
||||
addr->type = **cursor;
|
||||
*cursor += 1;
|
||||
switch (addr->type) {
|
||||
case 1:
|
||||
addr->addrlen = 4;
|
||||
|
||||
Reference in New Issue
Block a user