algo/payload3: updates after feedback @ gusc1a-ossdev-jsl5

This commit is contained in:
Josh Siegel 2022-05-10 13:00:59 +00:00 committed by jumpsiegel
parent 0e35c001c7
commit c731363d1f
2 changed files with 2 additions and 2 deletions

View File

@ -816,7 +816,7 @@ export async function _submitVAAAlgorand(
let aid = 0;
let addr;
if ((parsedVAA.get("ToChain") == 8) && (parsedVAA.get("Type") == 3)) {
if ((parsedVAA.get("ToChain") === 8) && (parsedVAA.get("Type") === 3)) {
aid = Number(hexToNativeAssetBigIntAlgorand(parsedVAA.get("ToAddress")));
addr = getApplicationAddress(aid);
} else {

View File

@ -3168,7 +3168,7 @@ describe("Integration Tests", () => {
wafter
);
expect(BigInt(wafter - wbefore) == BigInt(100));
expect(BigInt(wafter - wbefore) === BigInt(100));
console.log("payload3 sent...");
} catch (e) {
console.error("new test error:", e);