We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
Mock.On
1 parent f147e42 commit 76af068Copy full SHA for 76af068
tapgarden/mock.go
@@ -869,8 +869,11 @@ func NewMockKeyRing() *MockKeyRing {
869
keyRing.On(
870
"DeriveNextKey", mock.Anything,
871
keychain.KeyFamily(asset.TaprootAssetsKeyFamily),
872
- ).Return(nil)
873
- keyRing.On("DeriveNextTaprootAssetKey", mock.Anything).Return(nil)
+ ).Return(keychain.KeyDescriptor{}, nil)
+
874
+ keyRing.On(
875
+ "DeriveNextTaprootAssetKey", mock.Anything,
876
877
878
return keyRing
879
}
0 commit comments