Skip to content

Commit

Permalink
more verbose code mismatch message
Browse files Browse the repository at this point in the history
  • Loading branch information
Mike Lubinets committed Nov 8, 2018
1 parent 1d90836 commit eb0c47e
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions jsontests/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -166,6 +166,8 @@ pub fn test_machine<P: Patch>(v: &Value, machine: &SeqContextVM<P>, block: &JSON
if debug {
println!();
println!("Account code check failed for address 0x{:x}.", address);
println!("Expected: {:x?}", block.account_code(address));
println!("Actual: {:x?}", code_ref);
}

return false;
Expand Down

0 comments on commit eb0c47e

Please sign in to comment.