server+funding: remove unused remoteFundingAmt

This commit is contained in:
Johan T. Halseth 2019-07-11 13:14:36 +02:00
parent 2f5c1a69fb
commit e716251805
No known key found for this signature in database
GPG Key ID: 15BAADA29DA20D26
2 changed files with 2 additions and 4 deletions

View File

@ -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
)

View File

@ -2979,8 +2979,7 @@ type openChanReq struct {
chainHash chainhash.Hash
localFundingAmt btcutil.Amount
remoteFundingAmt btcutil.Amount
localFundingAmt btcutil.Amount
pushAmt lnwire.MilliSatoshi