Evict transaction from transaction pool (#2797)

* Evict transaction from transaction pool

* Remove Result from evict function
This commit is contained in:
Quentin Le Sceller
2019-05-13 18:03:47 -04:00
committed by Ignotus Peverell
parent 15b56a97f5
commit 59db5e3bd1
3 changed files with 40 additions and 8 deletions
+1 -1
View File
@@ -162,7 +162,7 @@ pub struct TxSource {
}
/// Possible errors when interacting with the transaction pool.
#[derive(Debug, Fail)]
#[derive(Debug, Fail, PartialEq)]
pub enum PoolError {
/// An invalid pool entry caused by underlying tx validation error
#[fail(display = "Invalid Tx {}", _0)]