change node#Mempool to return interface

This commit is contained in:
Anton Kaliaev
2019-04-04 14:04:43 +02:00
parent 101147994a
commit 00e9f2041f
2 changed files with 6 additions and 6 deletions

View File

@@ -806,7 +806,7 @@ func (n *Node) MempoolReactor() *mempl.Reactor {
}
// Mempool returns the Node's mempool.
func (n *Node) Mempool() *mempl.CListMempool {
func (n *Node) Mempool() mempl.Mempool {
return n.mempool
}