mirror of
https://github.com/lightningnetwork/lnd.git
synced 2025-08-03 02:02:17 +02:00
routing: add missing GlobalFeatures to NetworkNodeUpdate
This commit is contained in:
12
rpcserver.go
12
rpcserver.go
@@ -5509,11 +5509,13 @@ func marshallTopologyChange(topChange *routing.TopologyChange) *lnrpc.GraphTopol
|
||||
}
|
||||
|
||||
nodeUpdates[i] = &lnrpc.NodeUpdate{
|
||||
Addresses: addrs,
|
||||
IdentityKey: encodeKey(nodeUpdate.IdentityKey),
|
||||
GlobalFeatures: nodeUpdate.GlobalFeatures,
|
||||
Alias: nodeUpdate.Alias,
|
||||
Color: nodeUpdate.Color,
|
||||
Addresses: addrs,
|
||||
IdentityKey: encodeKey(nodeUpdate.IdentityKey),
|
||||
Alias: nodeUpdate.Alias,
|
||||
Color: nodeUpdate.Color,
|
||||
Features: invoicesrpc.CreateRPCFeatures(
|
||||
nodeUpdate.Features,
|
||||
),
|
||||
}
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user