Open ZhangTao1596 opened 5 years ago
I think I make the stack full and cant push into more variables. So when I try getting the arg, I got the method receiver not the argument. I use function instead of method to avoid the problem now.
@KickSeason Hello! I've also run into similar problem and made a fix which worked for myself. https://github.com/CityOfZion/neo-storm/pull/51
There are, probably, more cases to consider there. Does always work as expected when you use function instead of method?
Description of the issue
i build a function called Transfer with 4 args. but when i invoke the function, arguments' values in function are not the same as the input variables.
Type (put an
x
sign in the square brackets)Checklist
Your environment
Expected behaviour
successlly transfer from fromHash to toHash with the amount
Actual behaviour
got wrong arguments
Steps to reproduce
neo-storm compile -i ICOTemplate.go
before call transfer:
during transfer:
output: toHash became InteropInterface amount disappears
Any extra info ( for eg. code snippet to reproduce, logs, etc. )