discovery/gossiper: persist remote channel policy updates' max htlc

This commit is contained in:
Valentine Wallace 2019-01-12 18:59:44 +01:00 committed by Johan T. Halseth
parent 01e679786d
commit 513ac23479
No known key found for this signature in database
GPG Key ID: 15BAADA29DA20D26

@ -2014,6 +2014,7 @@ func (d *AuthenticatedGossiper) processNetworkAnnouncement(
ChannelFlags: msg.ChannelFlags, ChannelFlags: msg.ChannelFlags,
TimeLockDelta: msg.TimeLockDelta, TimeLockDelta: msg.TimeLockDelta,
MinHTLC: msg.HtlcMinimumMsat, MinHTLC: msg.HtlcMinimumMsat,
MaxHTLC: msg.HtlcMaximumMsat,
FeeBaseMSat: lnwire.MilliSatoshi(msg.BaseFee), FeeBaseMSat: lnwire.MilliSatoshi(msg.BaseFee),
FeeProportionalMillionths: lnwire.MilliSatoshi(msg.FeeRate), FeeProportionalMillionths: lnwire.MilliSatoshi(msg.FeeRate),
ExtraOpaqueData: msg.ExtraOpaqueData, ExtraOpaqueData: msg.ExtraOpaqueData,