From edda0b23806b03f8a91437c0db72fd89db2cc577 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tomasz=20Drwi=C4=99ga?= Date: Wed, 27 Jul 2016 17:12:14 +0200 Subject: [PATCH] Fixing compilation on latest nightly (#1736) --- ethcore/src/types/transaction.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ethcore/src/types/transaction.rs b/ethcore/src/types/transaction.rs index a8e1c66e4..ebb82c528 100644 --- a/ethcore/src/types/transaction.rs +++ b/ethcore/src/types/transaction.rs @@ -91,7 +91,7 @@ impl Transaction { impl From for SignedTransaction { fn from(t: ethjson::state::Transaction) -> Self { - let to: Option<_> = t.to.into(); + let to: Option = t.to.into(); Transaction { nonce: t.nonce.into(), gas_price: t.gas_price.into(), @@ -108,7 +108,7 @@ impl From for SignedTransaction { impl From for SignedTransaction { fn from(t: ethjson::transaction::Transaction) -> Self { - let to: Option<_> = t.to.into(); + let to: Option = t.to.into(); SignedTransaction { unsigned: Transaction { nonce: t.nonce.into(),