gomod: update btcwallet to include RPC errors

This commit is contained in:
yyforyongyu
2024-07-03 02:47:10 +08:00
parent 71ba355d90
commit 1d40c55550
4 changed files with 16 additions and 6 deletions

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)
}