mirror of
https://github.com/lightningnetwork/lnd.git
synced 2025-05-22 17:50:11 +02:00
chainreg: satisfy chain.Interface
in NoChainSource
This commit is contained in:
parent
ff1f33eee9
commit
e6f5d17548
@ -4,6 +4,7 @@ import (
|
|||||||
"errors"
|
"errors"
|
||||||
"time"
|
"time"
|
||||||
|
|
||||||
|
"github.com/btcsuite/btcd/btcjson"
|
||||||
"github.com/btcsuite/btcd/btcutil"
|
"github.com/btcsuite/btcd/btcutil"
|
||||||
"github.com/btcsuite/btcd/chaincfg/chainhash"
|
"github.com/btcsuite/btcd/chaincfg/chainhash"
|
||||||
"github.com/btcsuite/btcd/wire"
|
"github.com/btcsuite/btcd/wire"
|
||||||
@ -213,4 +214,10 @@ func (n *NoChainSource) BackEnd() string {
|
|||||||
return noChainBackendName
|
return noChainBackendName
|
||||||
}
|
}
|
||||||
|
|
||||||
|
func (n *NoChainSource) TestMempoolAccept([]*wire.MsgTx,
|
||||||
|
float64) ([]*btcjson.TestMempoolAcceptResult, error) {
|
||||||
|
|
||||||
|
return nil, nil
|
||||||
|
}
|
||||||
|
|
||||||
var _ chain.Interface = (*NoChainSource)(nil)
|
var _ chain.Interface = (*NoChainSource)(nil)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user