Add RPC to remove and ban transactions from the pool. (#2732)

This commit is contained in:
Tomasz Drwięga
2019-05-30 13:50:23 +02:00
committed by Gavin Wood
parent 683fd5d364
commit 7af8604cbe
4 changed files with 91 additions and 10 deletions
@@ -417,8 +417,7 @@ impl<B: ChainApi> Pool<B> {
}
/// Returns transaction hash
#[cfg(test)]
fn hash_of(&self, xt: &ExtrinsicFor<B>) -> ExHash<B> {
pub fn hash_of(&self, xt: &ExtrinsicFor<B>) -> ExHash<B> {
self.api.hash_and_length(xt).0
}
}