Closed dogstarcoin closed 1 year ago
Good solution! Waiting for merge
Did a quick manual test with:
let i = convert.bigNumberToI128(BigNumber(10000));
console.log("scval:", i.toXDR("base64"));
console.log("decoded:", convert.scvalToBigNumber(i).toString());
Seems to work. Thanks!
Trying to mint and deposit reflects a wrong amount. Proposal is to swap the order of bytes are passed to low and high in scoI128.