mirror of
https://github.com/lightningnetwork/lnd.git
synced 2025-01-18 21:35:24 +01:00
chainreg: satisfy chain.Interface
in NoChainSource
This commit is contained in:
parent
ff1f33eee9
commit
e6f5d17548
@ -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…
Reference in New Issue
Block a user