diff --git a/chainreg/no_chain_backend.go b/chainreg/no_chain_backend.go index 7d601dadf..ce85b0a69 100644 --- a/chainreg/no_chain_backend.go +++ b/chainreg/no_chain_backend.go @@ -4,6 +4,7 @@ import ( "errors" "time" + "github.com/btcsuite/btcd/btcjson" "github.com/btcsuite/btcd/btcutil" "github.com/btcsuite/btcd/chaincfg/chainhash" "github.com/btcsuite/btcd/wire" @@ -213,4 +214,10 @@ func (n *NoChainSource) BackEnd() string { return noChainBackendName } +func (n *NoChainSource) TestMempoolAccept([]*wire.MsgTx, + float64) ([]*btcjson.TestMempoolAcceptResult, error) { + + return nil, nil +} + var _ chain.Interface = (*NoChainSource)(nil)