server+funding: remove unused remoteFundingAmt

This commit is contained in:
Johan T. Halseth committed 2019-07-18 00:33:14 +02:00
1 parent 2f5c1a69fb
commit e716251805
2 files changed
+2 -4

No files matched your search

+1 -2
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
)
+1 -2
View File
@@ -2979,8 +2979,7 @@ type openChanReq struct {
chainHash chainhash.Hash
localFundingAmt btcutil.Amount
remoteFundingAmt btcutil.Amount
localFundingAmt btcutil.Amount
pushAmt lnwire.MilliSatoshi