Merge pull request #2460 from halseth/max-htlc-size-pickup

Support the max_htlc field from ChannelUpdates
This commit is contained in:
Olaoluwa Osuntokun authored and GitHub committed 2019-01-22 18:54:38 -08:00
commit e2285732e4
27 files changed
+1027 -260

No files matched your search

+2 -2
View File
@@ -3780,7 +3780,7 @@ func marshalDbEdge(edgeInfo *channeldb.ChannelEdgeInfo,
MinHtlc: int64(c1.MinHTLC),
FeeBaseMsat: int64(c1.FeeBaseMSat),
FeeRateMilliMsat: int64(c1.FeeProportionalMillionths),
Disabled: c1.Flags&lnwire.ChanUpdateDisabled != 0,
Disabled: c1.ChannelFlags&lnwire.ChanUpdateDisabled != 0,
}
}
@@ -3790,7 +3790,7 @@ func marshalDbEdge(edgeInfo *channeldb.ChannelEdgeInfo,
MinHtlc: int64(c2.MinHTLC),
FeeBaseMsat: int64(c2.FeeBaseMSat),
FeeRateMilliMsat: int64(c2.FeeProportionalMillionths),
Disabled: c2.Flags&lnwire.ChanUpdateDisabled != 0,
Disabled: c2.ChannelFlags&lnwire.ChanUpdateDisabled != 0,
}
}