Revert "funding: ensure the chan policy max htlc size is below max pay size"

This reverts commit 9b3385e87d.
This commit is contained in:
Olaoluwa Osuntokun
2019-12-06 15:10:39 -08:00
parent b3b34d9de2
commit abb44e18e2

View File

@@ -2391,9 +2391,6 @@ func (f *fundingManager) annAfterSixConfs(completeChan *channeldb.OpenChannel,
if fwdMaxHTLC > capacityMSat {
fwdMaxHTLC = capacityMSat
}
if fwdMaxHTLC > MaxPaymentMSat {
fwdMaxHTLC = MaxPaymentMSat
}
// Create and broadcast the proofs required to make this channel
// public and usable for other nodes for routing.