Expose getter for txIndexer (#6327)

This commit is contained in:
Nate Williams
2021-04-12 14:47:20 +02:00
committed by GitHub
parent f563bd4ff1
commit b517dd5685
+5
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 {