algo/payload3: updates after feedback @ gusc1a-ossdev-jsl5
This commit is contained in:
parent
0e35c001c7
commit
c731363d1f
|
@ -816,7 +816,7 @@ export async function _submitVAAAlgorand(
|
||||||
let aid = 0;
|
let aid = 0;
|
||||||
let addr;
|
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")));
|
aid = Number(hexToNativeAssetBigIntAlgorand(parsedVAA.get("ToAddress")));
|
||||||
addr = getApplicationAddress(aid);
|
addr = getApplicationAddress(aid);
|
||||||
} else {
|
} else {
|
||||||
|
|
|
@ -3168,7 +3168,7 @@ describe("Integration Tests", () => {
|
||||||
wafter
|
wafter
|
||||||
);
|
);
|
||||||
|
|
||||||
expect(BigInt(wafter - wbefore) == BigInt(100));
|
expect(BigInt(wafter - wbefore) === BigInt(100));
|
||||||
console.log("payload3 sent...");
|
console.log("payload3 sent...");
|
||||||
} catch (e) {
|
} catch (e) {
|
||||||
console.error("new test error:", e);
|
console.error("new test error:", e);
|
||||||
|
|
Loading…
Reference in New Issue