mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-04-29 20:47:56 +00:00
Add RPC to remove and ban transactions from the pool. (#2732)
This commit is contained in:
committed by
Gavin Wood
parent
683fd5d364
commit
7af8604cbe
@@ -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
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user