rpcserver: include max htlc in DescribeGraph response
This commit is contained in:
parent
0c6c1040d8
commit
675a8b2d9e
@ -3850,6 +3850,7 @@ func marshalDbEdge(edgeInfo *channeldb.ChannelEdgeInfo,
|
|||||||
edge.Node1Policy = &lnrpc.RoutingPolicy{
|
edge.Node1Policy = &lnrpc.RoutingPolicy{
|
||||||
TimeLockDelta: uint32(c1.TimeLockDelta),
|
TimeLockDelta: uint32(c1.TimeLockDelta),
|
||||||
MinHtlc: int64(c1.MinHTLC),
|
MinHtlc: int64(c1.MinHTLC),
|
||||||
|
MaxHtlc: uint64(c1.MaxHTLC),
|
||||||
FeeBaseMsat: int64(c1.FeeBaseMSat),
|
FeeBaseMsat: int64(c1.FeeBaseMSat),
|
||||||
FeeRateMilliMsat: int64(c1.FeeProportionalMillionths),
|
FeeRateMilliMsat: int64(c1.FeeProportionalMillionths),
|
||||||
Disabled: c1.ChannelFlags&lnwire.ChanUpdateDisabled != 0,
|
Disabled: c1.ChannelFlags&lnwire.ChanUpdateDisabled != 0,
|
||||||
@ -3860,6 +3861,7 @@ func marshalDbEdge(edgeInfo *channeldb.ChannelEdgeInfo,
|
|||||||
edge.Node2Policy = &lnrpc.RoutingPolicy{
|
edge.Node2Policy = &lnrpc.RoutingPolicy{
|
||||||
TimeLockDelta: uint32(c2.TimeLockDelta),
|
TimeLockDelta: uint32(c2.TimeLockDelta),
|
||||||
MinHtlc: int64(c2.MinHTLC),
|
MinHtlc: int64(c2.MinHTLC),
|
||||||
|
MaxHtlc: uint64(c2.MaxHTLC),
|
||||||
FeeBaseMsat: int64(c2.FeeBaseMSat),
|
FeeBaseMsat: int64(c2.FeeBaseMSat),
|
||||||
FeeRateMilliMsat: int64(c2.FeeProportionalMillionths),
|
FeeRateMilliMsat: int64(c2.FeeProportionalMillionths),
|
||||||
Disabled: c2.ChannelFlags&lnwire.ChanUpdateDisabled != 0,
|
Disabled: c2.ChannelFlags&lnwire.ChanUpdateDisabled != 0,
|
||||||
|
Loading…
Reference in New Issue
Block a user