Skip to content

Commit 76af068

Browse files
committed
tapgarden: fix wrong return types in Mock.On calls in NewMockKeyRing
1 parent f147e42 commit 76af068

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

tapgarden/mock.go

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -869,8 +869,11 @@ func NewMockKeyRing() *MockKeyRing {
869869
keyRing.On(
870870
"DeriveNextKey", mock.Anything,
871871
keychain.KeyFamily(asset.TaprootAssetsKeyFamily),
872-
).Return(nil)
873-
keyRing.On("DeriveNextTaprootAssetKey", mock.Anything).Return(nil)
872+
).Return(keychain.KeyDescriptor{}, nil)
873+
874+
keyRing.On(
875+
"DeriveNextTaprootAssetKey", mock.Anything,
876+
).Return(keychain.KeyDescriptor{}, nil)
874877

875878
return keyRing
876879
}

0 commit comments

Comments
 (0)