diff --git a/fundingmanager.go b/fundingmanager.go index bfd3f017..71c5553c 100644 --- a/fundingmanager.go +++ b/fundingmanager.go @@ -2742,8 +2742,7 @@ func (f *fundingManager) handleInitFundingMsg(msg *initFundingMsg) { var ( peerKey = msg.peer.IdentityKey() localAmt = msg.localFundingAmt - remoteAmt = msg.remoteFundingAmt - capacity = localAmt + remoteAmt + capacity = localAmt minHtlc = msg.minHtlc remoteCsvDelay = msg.remoteCsvDelay ) diff --git a/server.go b/server.go index a5e97ea6..4e19ce14 100644 --- a/server.go +++ b/server.go @@ -2979,8 +2979,7 @@ type openChanReq struct { chainHash chainhash.Hash - localFundingAmt btcutil.Amount - remoteFundingAmt btcutil.Amount + localFundingAmt btcutil.Amount pushAmt lnwire.MilliSatoshi