lnwallet: update tests due to recent API changes

This commit is contained in:
Olaoluwa Osuntokun
2018-02-17 15:25:55 -08:00
parent 5b063a0691
commit 0d1a40fb46
3 changed files with 67 additions and 28 deletions

View File

@@ -23,7 +23,7 @@ type mockSigner struct {
}
func (m *mockSigner) SignOutputRaw(tx *wire.MsgTx, signDesc *SignDescriptor) ([]byte, error) {
pubkey := signDesc.PubKey
pubkey := signDesc.KeyDesc.PubKey
switch {
case signDesc.SingleTweak != nil:
pubkey = TweakPubKeyWithTweak(pubkey, signDesc.SingleTweak)