Skip to content
This repository has been archived by the owner on Nov 15, 2021. It is now read-only.

Commit

Permalink
reverse order an array object if found inside of params
Browse files Browse the repository at this point in the history
  • Loading branch information
hal0x2328 committed Oct 4, 2017
1 parent 07f06f1 commit 9acffc7
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions neo/Prompt/Commands/Invoke.py
Original file line number Diff line number Diff line change
Expand Up @@ -106,6 +106,7 @@ def TestInvokeContract(wallet, args):
item = parse_param(p)

if type(item) is list:
item.reverse()
listlength = len(item)
for listitem in item:
sb.push(listitem)
Expand Down

0 comments on commit 9acffc7

Please sign in to comment.