Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bump fastcrypto version #8228

Merged
merged 11 commits into from
Feb 13, 2023
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Keep try_sign
  • Loading branch information
jonas-lj committed Feb 13, 2023
commit 990e6118ccd0637947bf3c47b319502b788b900a
2 changes: 1 addition & 1 deletion crates/sui-types/src/crypto.rs
Original file line number Diff line number Diff line change
Expand Up @@ -963,7 +963,7 @@ pub trait SuiSignatureInner: Sized + ToFromBytes + PartialEq + Eq + Hash {
}

fn new(kp: &Self::KeyPair, message: &[u8]) -> SuiResult<Self> {
let sig = SuiSigner::sign(kp, message);
let sig = SuiSigner::try_sign(kp, message)?;

let mut signature_bytes: Vec<u8> = Vec::new();
signature_bytes
Expand Down