gomod: update btcwallet to include RPC errors

This commit is contained in:
yyforyongyu committed 2024-07-06 13:55:12 +08:00
1 parent 71ba355d90
commit 1d40c55550
4 files changed
+16 -6

No files matched your search

+6
View File
@@ -157,3 +157,9 @@ func (m *MockChain) TestMempoolAccept(txns []*wire.MsgTx, maxFeeRate float64) (
return args.Get(0).([]*btcjson.TestMempoolAcceptResult), args.Error(1)
}
func (m *MockChain) MapRPCErr(err error) error {
args := m.Called(err)
return args.Error(0)
}