Web3Auth / mpc-core-kit

16 stars 4 forks source link

Fix scalar encoding length #43

Closed matthiasgeihs closed 11 months ago

matthiasgeihs commented 11 months ago

One of the previous PRs introduced a bug where scalars where encoded to byte buffers with a length that was defined for hex encodings (hence, the buffer was twice the size of what it should be).

This PR corrects that mistake.