Fix ethkey test.
This commit is contained in:
parent
fc3e1a4f18
commit
feb7ac7ba8
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user