Fixed transaction propagation (#854)

This commit is contained in:
Arkadiy Paronyan authored and Gav Wood committed 2018-09-30 19:41:18 +01:00
1 parent da2469b82a
commit 2e728005c9
1 file changed
+1 -1
+1 -1
View File
@@ -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);