mirror of
https://github.com/lightningnetwork/lnd.git
synced 2025-03-26 01:33:02 +01:00
chainreg: satisfy chain.Interface
in NoChainSource
This commit is contained in:
parent
6d566068df
commit
a6fc5a901a
@ -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)
|
||||
|
Loading…
x
Reference in New Issue
Block a user