multiversx / mx-sdk-js-core

MultiversX SDK for interacting with the MultiversX blockchain (in general) and Smart Contracts (in particular).
https://multiversx.github.io/mx-sdk-js-core/
Other
58 stars 37 forks source link

SignableMessage: one does not simply decode a payload that was previously created using "toJSON()" #375

Closed andreibancioiu closed 6 months ago

andreibancioiu commented 7 months ago
payload = message.toJSON()
// send payload to a backend for verification
signableMessage = ... cumbersome to recover the message from "payload" ...

Reported on Telegram. Workaround here: https://t.me/MultiversXDevelopers/123380.

andreibancioiu commented 6 months ago

Fixed by https://github.com/multiversx/mx-sdk-js-core/pull/378. Will be released in v13.