Skip to content

Commit

Permalink
Minor fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
jayz22 committed Apr 2, 2024
1 parent 0067b36 commit 8419570
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions soroban-env-host/src/host/crypto.rs
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,7 @@ impl Host {
self.err(
ScErrorType::Crypto,
ScErrorCode::InvalidInput,
"failed scep256r1 verification",
"failed secp256r1 verification",
&[],
)
})
Expand All @@ -115,7 +115,7 @@ impl Host {
// check and make sure the key was encoded in uncompressed format
let tag = bytes
.first()
.cloned()
.copied()
.ok_or(sec1::Error::PointEncoding)
.and_then(Tag::from_u8)
.map_err(|_| {
Expand Down

0 comments on commit 8419570

Please sign in to comment.