Skip to content

Commit

Permalink
crypto: fix secp256k1 scheme flag (MystenLabs#4169)
Browse files Browse the repository at this point in the history
  • Loading branch information
joyqvq authored Aug 19, 2022
1 parent 68fb59f commit a0fba24
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion crates/sui-types/src/crypto.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1152,7 +1152,7 @@ impl SignatureScheme {
pub fn flag(&self) -> u8 {
match self {
SignatureScheme::ED25519 => 0x00,
SignatureScheme::Secp256k1 => 0xed,
SignatureScheme::Secp256k1 => 0x01,
}
}
}

0 comments on commit a0fba24

Please sign in to comment.