Skip to content

Commit

Permalink
Fix: support uncompressed pubkeys
Browse files Browse the repository at this point in the history
  • Loading branch information
maurolacy committed Feb 9, 2021
1 parent ffd9d59 commit 25eecd4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/vm/src/imports.rs
Original file line number Diff line number Diff line change
Expand Up @@ -40,8 +40,8 @@ const LENGTH_SHA256_HASH: usize = 32;
/// Max length of a serialized signature
const MAX_LENGTH_SIGNATURE: usize = 64;

/// Max length of a serialized public key
const MAX_LENGTH_PUBKEY: usize = 33;
/// Max length of a (uncompressed) serialized public key
const MAX_LENGTH_PUBKEY: usize = 65;

/// Max length for a debug message
const MAX_LENGTH_DEBUG: usize = 2 * MI;
Expand Down

0 comments on commit 25eecd4

Please sign in to comment.