lnwallet+sweep: add new method CheckMempoolAcceptance

This commit is contained in:
yyforyongyu
2024-02-29 03:07:22 +08:00
parent cd5d074099
commit f85661d94a
8 changed files with 310 additions and 0 deletions

View File

@ -294,6 +294,10 @@ func (w *mockWalletController) RemoveDescendants(*wire.MsgTx) error {
return nil
}
func (w *mockWalletController) CheckMempoolAcceptance(tx *wire.MsgTx) error {
return nil
}
// mockChainNotifier is a mock implementation of the ChainNotifier interface.
type mockChainNotifier struct {
SpendChan chan *chainntnfs.SpendDetail