Skip to content

Commit 25eecd4

Browse files
committed
Fix: support uncompressed pubkeys
1 parent ffd9d59 commit 25eecd4

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

packages/vm/src/imports.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -40,8 +40,8 @@ const LENGTH_SHA256_HASH: usize = 32;
4040
/// Max length of a serialized signature
4141
const MAX_LENGTH_SIGNATURE: usize = 64;
4242

43-
/// Max length of a serialized public key
44-
const MAX_LENGTH_PUBKEY: usize = 33;
43+
/// Max length of a (uncompressed) serialized public key
44+
const MAX_LENGTH_PUBKEY: usize = 65;
4545

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

0 commit comments

Comments
 (0)