server+funding: remove unused remoteFundingAmt
This commit is contained in:
parent
2f5c1a69fb
commit
e716251805
@ -2742,8 +2742,7 @@ func (f *fundingManager) handleInitFundingMsg(msg *initFundingMsg) {
|
|||||||
var (
|
var (
|
||||||
peerKey = msg.peer.IdentityKey()
|
peerKey = msg.peer.IdentityKey()
|
||||||
localAmt = msg.localFundingAmt
|
localAmt = msg.localFundingAmt
|
||||||
remoteAmt = msg.remoteFundingAmt
|
capacity = localAmt
|
||||||
capacity = localAmt + remoteAmt
|
|
||||||
minHtlc = msg.minHtlc
|
minHtlc = msg.minHtlc
|
||||||
remoteCsvDelay = msg.remoteCsvDelay
|
remoteCsvDelay = msg.remoteCsvDelay
|
||||||
)
|
)
|
||||||
|
@ -2980,7 +2980,6 @@ type openChanReq struct {
|
|||||||
chainHash chainhash.Hash
|
chainHash chainhash.Hash
|
||||||
|
|
||||||
localFundingAmt btcutil.Amount
|
localFundingAmt btcutil.Amount
|
||||||
remoteFundingAmt btcutil.Amount
|
|
||||||
|
|
||||||
pushAmt lnwire.MilliSatoshi
|
pushAmt lnwire.MilliSatoshi
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user