fixed indentation
This commit is contained in:
parent
280c5e8a99
commit
048dba7ef3
@ -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()) }
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user