server: set max htlc in ChannelUpdate createChannelUpdate
This method is called to convert an EdgePolicy to a ChannelUpdate. We make sure to carry over the max_htlc value. Co-authored-by: Johan T. Halseth <johanth@gmail.com>
This commit is contained in:
parent
207c4f030a
commit
390b974793
@ -3104,6 +3104,7 @@ func createChannelUpdate(info *channeldb.ChannelEdgeInfo,
|
||||
ChannelFlags: policy.ChannelFlags,
|
||||
TimeLockDelta: policy.TimeLockDelta,
|
||||
HtlcMinimumMsat: policy.MinHTLC,
|
||||
HtlcMaximumMsat: policy.MaxHTLC,
|
||||
BaseFee: uint32(policy.FeeBaseMSat),
|
||||
FeeRate: uint32(policy.FeeProportionalMillionths),
|
||||
ExtraOpaqueData: policy.ExtraOpaqueData,
|
||||
|
Loading…
Reference in New Issue
Block a user