rpc: use interfaces for pipe

This commit is contained in:
Ethan Buchman
2016-10-14 21:36:42 -04:00
parent 7d493774c7
commit 2113b6f4bb
7 changed files with 79 additions and 45 deletions

View File

@@ -10,7 +10,7 @@ import (
)
func UnsafeFlushMempool() (*ctypes.ResultUnsafeFlushMempool, error) {
mempoolReactor.Mempool.Flush()
mempool.Flush()
return &ctypes.ResultUnsafeFlushMempool{}, nil
}