Skip to content
This repository has been archived by the owner on Feb 23, 2023. It is now read-only.

Commit

Permalink
chain: Fix upcast runtime error in toTupleArray
Browse files Browse the repository at this point in the history
  • Loading branch information
evaporei committed Sep 22, 2021
1 parent 664f41e commit 80abe7e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion chain/ethereum.ts
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,7 @@ export namespace ethereum {
let valueArray = this.toArray()
let out = new Array<T>(valueArray.length)
for (let i: i32 = 0; i < valueArray.length; i++) {
out[i] = <T>valueArray[i].toTuple()
out[i] = changetype<T>(valueArray[i].toTuple())
}
return out
}
Expand Down

0 comments on commit 80abe7e

Please sign in to comment.