File tree Expand file tree Collapse file tree 1 file changed +5
-0
lines changed Expand file tree Collapse file tree 1 file changed +5
-0
lines changed Original file line number Diff line number Diff line change @@ -3230,6 +3230,10 @@ type RoutingPolicy struct {
32303230
32313231 // LastUpdate is the last update time for the edge policy.
32323232 LastUpdate time.Time
3233+
3234+ // CustomRecords is a set of feature id-value pairs that are used to
3235+ // advertise additional information about an edge.
3236+ CustomRecords map [uint64 ][]byte
32333237}
32343238
32353239// ChannelEdge holds the channel edge information and routing policies.
@@ -3272,6 +3276,7 @@ func getRoutingPolicy(policy *lnrpc.RoutingPolicy) *RoutingPolicy {
32723276 FeeRateMilliMsat : policy .FeeRateMilliMsat ,
32733277 Disabled : policy .Disabled ,
32743278 LastUpdate : time .Unix (int64 (policy .LastUpdate ), 0 ),
3279+ CustomRecords : policy .CustomRecords ,
32753280 }
32763281}
32773282
You can’t perform that action at this time.
0 commit comments