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

This reverts commit 9b3385e87de8b2da51a9c979cd4e8ef770078ae2.
This commit is contained in:
Olaoluwa Osuntokun 2019-12-06 15:10:39 -08:00
parent b3b34d9de2
commit abb44e18e2
No known key found for this signature in database
GPG Key ID: BC13F65E2DC84465

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