fixed indentation

This commit is contained in:
debris 2016-03-20 10:36:44 +01:00 committed by arkpar
parent 280c5e8a99
commit 048dba7ef3

View File

@ -410,9 +410,11 @@ impl<C, S, A, M, EM> Eth for EthClient<C, S, A, M, EM>
let transaction: EthTransaction = transaction_request.into();
let signed_transaction = transaction.sign(&secret);
to_value(&client.call(&signed_transaction)
let output = client.call(&signed_transaction)
.map(|e| Bytes::new(e.output))
.unwrap_or(Bytes::default()))
.unwrap_or(Bytes::default());
to_value(&output)
},
Err(_) => { to_value(&Bytes::default()) }
}