routing: add missing GlobalFeatures to NetworkNodeUpdate

This commit is contained in:
Andras Banki-Horvath committed 2020-12-07 15:47:09 +01:00
1 parent c58589db3b
commit 98c61be342
6 files changed
+832 -789

No files matched your search

+7 -5
View File
@@ -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,
),
}
}