diff --git a/substrate/core/service/src/lib.rs b/substrate/core/service/src/lib.rs index 4f65e5b2634e9575b70091b0be4a3aedd2227844..0fb40d9a2cb212e664c787c06235865e13e5d117 100644 --- a/substrate/core/service/src/lib.rs +++ b/substrate/core/service/src/lib.rs @@ -416,7 +416,7 @@ impl<C: Components> network::TransactionPool<ComponentExHash<C>, ComponentBlock< Err(e) => match e.into_pool_error() { Ok(e) => match e.kind() { transaction_pool::ErrorKind::AlreadyImported(hash) => - Some(::std::str::FromStr::from_str(&hash).map_err(|_| {}) + Some(::std::str::FromStr::from_str(&hash[2..]).map_err(|_| {}) .expect("Hash string is always valid")), _ => { debug!("Error adding transaction to the pool: {:?}", e);