From 2e728005c968a24f6fff629ee438a6b3e1b869af Mon Sep 17 00:00:00 2001 From: Arkadiy Paronyan <arkady.paronyan@gmail.com> Date: Sun, 30 Sep 2018 20:41:18 +0200 Subject: [PATCH] Fixed transaction propagation (#854) --- substrate/core/service/src/lib.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/substrate/core/service/src/lib.rs b/substrate/core/service/src/lib.rs index 4f65e5b2634..0fb40d9a2cb 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); -- GitLab