Closed ieow closed 2 weeks ago
On edge case when the public key 64bytes (128 char) is start with 04... The addPrefix skip adding prefix. when stripPrefix is called, the public key 04 is striped and only 63 bytes (126 chars) left which made the public key invalid.
Fixing this as patch for v8
@ieow This has been also been found and fixed in the PR intended for v9 release.
Note: You'll also need to bump the version in the podspec for the intended tag here.
On edge case when the public key 64bytes (128 char) is start with 04... The addPrefix skip adding prefix. when stripPrefix is called, the public key 04 is striped and only 63 bytes (126 chars) left which made the public key invalid.
Fixing this as patch for v8