mirror of
https://github.com/lightningnetwork/lnd.git
synced 2025-05-20 16:50:54 +02: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…
x
Reference in New Issue
Block a user