breacharbiter: update wallet/signer API usage to due recent changes
This commit is contained in:
parent
458138f6fa
commit
522712b9a6
@ -512,7 +512,7 @@ func (b *breachArbiter) breachObserver(contract *lnwallet.LightningChannel,
|
|||||||
desc.SigHashes = hc
|
desc.SigHashes = hc
|
||||||
desc.InputIndex = inputIndex
|
desc.InputIndex = inputIndex
|
||||||
|
|
||||||
return lnwallet.CommitSpendNoDelay(b.wallet.Signer, desc, tx)
|
return lnwallet.CommitSpendNoDelay(b.wallet.Cfg.Signer, &desc, tx)
|
||||||
}
|
}
|
||||||
|
|
||||||
// Next we create the witness generation function that will be
|
// Next we create the witness generation function that will be
|
||||||
@ -527,7 +527,7 @@ func (b *breachArbiter) breachObserver(contract *lnwallet.LightningChannel,
|
|||||||
desc.SigHashes = hc
|
desc.SigHashes = hc
|
||||||
desc.InputIndex = inputIndex
|
desc.InputIndex = inputIndex
|
||||||
|
|
||||||
return lnwallet.CommitSpendRevoke(b.wallet.Signer, desc, tx)
|
return lnwallet.CommitSpendRevoke(b.wallet.Cfg.Signer, &desc, tx)
|
||||||
}
|
}
|
||||||
|
|
||||||
// Finally, with the two witness generation funcs created, we
|
// Finally, with the two witness generation funcs created, we
|
||||||
|
Loading…
Reference in New Issue
Block a user