Skip to content
This repository has been archived by the owner on Oct 22, 2023. It is now read-only.

Commit

Permalink
fix logss
Browse files Browse the repository at this point in the history
  • Loading branch information
David Yan committed Aug 29, 2019
1 parent 98915ad commit c7f06e4
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion gateway/src/impls/eth.rs
Original file line number Diff line number Diff line change
Expand Up @@ -587,7 +587,7 @@ impl Eth for EthClient {
.map_err(execution_error)
.then(move |result| {
drop(timer);
info!("send_raw_transaction time: {:?}", start.elapsed());
info!(self.logger, "send_raw_transaction"; "time" => ?start.elapsed());
result
}),
)
Expand Down
2 changes: 1 addition & 1 deletion gateway/src/impls/oasis.rs
Original file line number Diff line number Diff line change
Expand Up @@ -134,7 +134,7 @@ impl Oasis for OasisClient {
.map_err(execution_error)
.then(move |maybe_result| {
drop(timer);
info!("invoke time: {:?}", start.elapsed());
info!(self.logger, "invoke"; "time" => ?start.elapsed());

maybe_result.map(|(hash, result)| RpcExecutionPayload {
transaction_hash: hash.into(),
Expand Down

0 comments on commit c7f06e4

Please sign in to comment.