mirror of
https://github.com/lightningnetwork/lnd.git
synced 2024-11-19 09:53:54 +01:00
lnwallet: forgot some field name changes
This commit is contained in:
parent
a689595054
commit
420e34cc91
@ -500,7 +500,7 @@ func (l *LightningWallet) handleFundingCounterPartyFunds(req *addCounterPartyFun
|
||||
// * also, also this is currently bare-multi sig, keep this for network
|
||||
// transparency or switch to P2SH?
|
||||
keys := make([]*btcutil.AddressPubKey, 2)
|
||||
ourKey := pendingReservation.ourKey.PubKey().SerializeCompressed()
|
||||
ourKey := pendingReservation.partialState.multiSigKey.PubKey().SerializeCompressed()
|
||||
keys[0], _ = btcutil.NewAddressPubKey(ourKey, ActiveNetParams)
|
||||
pendingReservation.theirMultiSigKey = req.theirKey
|
||||
keys[1], _ = btcutil.NewAddressPubKey(pendingReservation.theirMultiSigKey.SerializeCompressed(), ActiveNetParams)
|
||||
@ -509,7 +509,7 @@ func (l *LightningWallet) handleFundingCounterPartyFunds(req *addCounterPartyFun
|
||||
req.err <- err
|
||||
return
|
||||
}
|
||||
multiSigOut := wire.NewTxOut(int64(pendingReservation.FundingAmount),
|
||||
multiSigOut := wire.NewTxOut(int64(pendingReservation.partialState.capacity),
|
||||
multiSigScript)
|
||||
pendingReservation.partialState.fundingTx.AddTxOut(multiSigOut)
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user