Skip to content

Commit

Permalink
fix error message in rust verify.rs
Browse files Browse the repository at this point in the history
  • Loading branch information
chrisnc committed Dec 14, 2024
1 parent 7e065b5 commit a1b2fbd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion rust/bin/verify.rs
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ fn main() -> std::io::Result<()> {
let pk: [u8; liblithium::sign::PUBLIC_KEY_LEN] = read(pk_path)?
.as_slice()
.try_into()
.expect("incorrect secret key length");
.expect("incorrect public key length");
let sig: [u8; liblithium::sign::SIGN_LEN] = read(sig_path)?
.as_slice()
.try_into()
Expand Down

0 comments on commit a1b2fbd

Please sign in to comment.