Skip to content
This repository has been archived by the owner on Nov 6, 2020. It is now read-only.

Commit

Permalink
clean up verification error messages
Browse files Browse the repository at this point in the history
  • Loading branch information
rphmeier committed Sep 27, 2016
1 parent b70bff7 commit 6abadd6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions ethcore/src/verification/queue/kind.rs
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ pub mod blocks {
match verify_block_basic(&input.header, &input.bytes, engine) {
Ok(()) => Ok(input),
Err(e) => {
warn!(target: "client", "Stage 1 block verification failed for {:?}", input.hash());
warn!(target: "client", "Stage 1 block verification failed for {}: {:?}", input.hash(), e);
Err(e)
}
}
Expand All @@ -94,7 +94,7 @@ pub mod blocks {
match verify_block_unordered(un.header, un.bytes, engine) {
Ok(verified) => Ok(verified),
Err(e) => {
warn!(target: "client", "Stage 2 block verification failed for {}\n Error: {:?}", hash, e);
warn!(target: "client", "Stage 2 block verification failed for {}: {:?}", hash, e);
Err(e)
}
}
Expand Down

0 comments on commit 6abadd6

Please sign in to comment.