Skip to content

Commit

Permalink
Fix ethkey test.
Browse files Browse the repository at this point in the history
  • Loading branch information
tomusdrw committed May 11, 2017
1 parent fc3e1a4 commit feb7ac7
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions ethkey/src/signature.rs
Original file line number Diff line number Diff line change
Expand Up @@ -251,8 +251,8 @@ mod tests {
let signature = sign(keypair.secret(), &message).unwrap();

// when
let vrs = signature.clone().into_vrs();
let from_vrs = Signature::from_vrs(&vrs);
let vrs = signature.clone().into_electrum();
let from_vrs = Signature::from_electrum(&vrs);

// then
assert_eq!(signature, from_vrs);
Expand Down

0 comments on commit feb7ac7

Please sign in to comment.