fixed indentation
This commit is contained in:
parent
83d08ba399
commit
d536d20643
@ -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 transaction: EthTransaction = transaction_request.into();
|
||||||
let signed_transaction = transaction.sign(&secret);
|
let signed_transaction = transaction.sign(&secret);
|
||||||
|
|
||||||
to_value(&client.call(&signed_transaction)
|
let output = client.call(&signed_transaction)
|
||||||
.map(|e| Bytes::new(e.output))
|
.map(|e| Bytes::new(e.output))
|
||||||
.unwrap_or(Bytes::default()))
|
.unwrap_or(Bytes::default());
|
||||||
|
|
||||||
|
to_value(&output)
|
||||||
},
|
},
|
||||||
Err(_) => { to_value(&Bytes::default()) }
|
Err(_) => { to_value(&Bytes::default()) }
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user