You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have a weird use case :
when i call my program instruction in a vue + vite app, i get the error 101, wrong discriminator (fallback function error).
So i tried a very simple code :
console.log(sha256.digest('global:bid'));
And this does not give me the same result in my app and in a node app (the one in the node app seems to be the right one because transaction are OK with this one).
So it seems something is breaking sha256 (so, anchor too).
i have a var global = global || window;
might be linked ?
The text was updated successfully, but these errors were encountered:
Yes, there is an issue with newer versions of Chrome and js-sha256 package(emn178/js-sha256#40) which cause Error: Invalid account discriminator. We've updated to a new package in #2580 which shouldn't have this problem.
I have a weird use case :
when i call my program instruction in a vue + vite app, i get the error 101, wrong discriminator (fallback function error).
So i tried a very simple code :
console.log(sha256.digest('global:bid'));
And this does not give me the same result in my app and in a node app (the one in the node app seems to be the right one because transaction are OK with this one).
So it seems something is breaking sha256 (so, anchor too).
i have a
var global = global || window;
might be linked ?
The text was updated successfully, but these errors were encountered: