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
{{ message }}
This repository was archived by the owner on Aug 2, 2022. It is now read-only.
Describe the bug
SerialBuffer.pushAsset will accept invalid symbols in the string supplied
To Reproduce
const {Serialize} = require('eosjs');
const sb = new Serialize.SerialBuffer({
textEncoder: new TextEncoder,
textDecoder: new TextDecoder
});
sb.pushAsset('10.000 EOS blah')
console.log(sb.getAsset())
>> 10.000 EOS bla
This should throw an error after validating the symbol
Version of EOSJS
21
Describe the bug
SerialBuffer.pushAsset will accept invalid symbols in the string supplied
To Reproduce
This should throw an error after validating the symbol