breacharbiter: update wallet/signer API usage to due recent changes

This commit is contained in:
Olaoluwa Osuntokun 2017-07-30 15:55:08 -07:00
parent 458138f6fa
commit 522712b9a6
No known key found for this signature in database
GPG Key ID: 9CC5B105D03521A2

@ -512,7 +512,7 @@ func (b *breachArbiter) breachObserver(contract *lnwallet.LightningChannel,
desc.SigHashes = hc
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
@ -527,7 +527,7 @@ func (b *breachArbiter) breachObserver(contract *lnwallet.LightningChannel,
desc.SigHashes = hc
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