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
|
// * also, also this is currently bare-multi sig, keep this for network
|
||||||
// transparency or switch to P2SH?
|
// transparency or switch to P2SH?
|
||||||
keys := make([]*btcutil.AddressPubKey, 2)
|
keys := make([]*btcutil.AddressPubKey, 2)
|
||||||
ourKey := pendingReservation.ourKey.PubKey().SerializeCompressed()
|
ourKey := pendingReservation.partialState.multiSigKey.PubKey().SerializeCompressed()
|
||||||
keys[0], _ = btcutil.NewAddressPubKey(ourKey, ActiveNetParams)
|
keys[0], _ = btcutil.NewAddressPubKey(ourKey, ActiveNetParams)
|
||||||
pendingReservation.theirMultiSigKey = req.theirKey
|
pendingReservation.theirMultiSigKey = req.theirKey
|
||||||
keys[1], _ = btcutil.NewAddressPubKey(pendingReservation.theirMultiSigKey.SerializeCompressed(), ActiveNetParams)
|
keys[1], _ = btcutil.NewAddressPubKey(pendingReservation.theirMultiSigKey.SerializeCompressed(), ActiveNetParams)
|
||||||
@ -509,7 +509,7 @@ func (l *LightningWallet) handleFundingCounterPartyFunds(req *addCounterPartyFun
|
|||||||
req.err <- err
|
req.err <- err
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
multiSigOut := wire.NewTxOut(int64(pendingReservation.FundingAmount),
|
multiSigOut := wire.NewTxOut(int64(pendingReservation.partialState.capacity),
|
||||||
multiSigScript)
|
multiSigScript)
|
||||||
pendingReservation.partialState.fundingTx.AddTxOut(multiSigOut)
|
pendingReservation.partialState.fundingTx.AddTxOut(multiSigOut)
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user