From abb44e18e29bc23fe16f718c36455b92d06bb3f5 Mon Sep 17 00:00:00 2001 From: Olaoluwa Osuntokun Date: Fri, 6 Dec 2019 15:10:39 -0800 Subject: [PATCH] Revert "funding: ensure the chan policy max htlc size is below max pay size" This reverts commit 9b3385e87de8b2da51a9c979cd4e8ef770078ae2. --- fundingmanager.go | 3 --- 1 file changed, 3 deletions(-) diff --git a/fundingmanager.go b/fundingmanager.go index f2fdb6c6..ac89aeaa 100644 --- a/fundingmanager.go +++ b/fundingmanager.go @@ -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.