Expose getter for txIndexer (#6327)

This commit is contained in:
Nate Williams
2021-04-12 07:47:20 -05:00
committed by GitHub
parent f563bd4ff1
commit b517dd5685

View File

@@ -1707,6 +1707,11 @@ func (n *Node) Config() *cfg.Config {
return n.config
}
// TxIndexer returns the Node's TxIndexer.
func (n *Node) TxIndexer() txindex.TxIndexer {
return n.txIndexer
}
//------------------------------------------------------------------------------
func (n *Node) Listeners() []string {