coinspect_tests: adjust comments
This commit is contained in:
parent
fd94c649b0
commit
a1598b2769
|
@ -1013,8 +1013,6 @@ class PortalCore:
|
||||||
txns.append(transaction.ApplicationCallTxn(
|
txns.append(transaction.ApplicationCallTxn(
|
||||||
sender=sender.getAddress(),
|
sender=sender.getAddress(),
|
||||||
|
|
||||||
# AUDIT: this is wrong, as the index should be only the last
|
|
||||||
# eight bytes of the destionation... we fixed it
|
|
||||||
index=int.from_bytes(bytes.fromhex(p["ToAddress"])[24:], "big"),
|
index=int.from_bytes(bytes.fromhex(p["ToAddress"])[24:], "big"),
|
||||||
on_complete=transaction.OnComplete.NoOpOC,
|
on_complete=transaction.OnComplete.NoOpOC,
|
||||||
app_args=[m.get_selector(), m.args[0].type.encode(vaa)],
|
app_args=[m.get_selector(), m.args[0].type.encode(vaa)],
|
||||||
|
|
|
@ -671,8 +671,8 @@ class AlgoTest(PortalCore):
|
||||||
try:
|
try:
|
||||||
self.submitVAA(vaa, client, player, self.tokenid)
|
self.submitVAA(vaa, client, player, self.tokenid)
|
||||||
except algosdk.error.AlgodHTTPError as e:
|
except algosdk.error.AlgodHTTPError as e:
|
||||||
# should fail right at line 936
|
# should fail right at line 963
|
||||||
if "opcodes=pushint 936" in str(e):
|
if "opcodes=pushint 963" in str(e):
|
||||||
return True, vaa, None
|
return True, vaa, None
|
||||||
return False, vaa, e
|
return False, vaa, e
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue