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

Commit

Permalink
Merge e0a276b into d2362d4
Browse files Browse the repository at this point in the history
  • Loading branch information
ixje committed Jun 5, 2019
2 parents d2362d4 + e0a276b commit 147c644
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 6 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.rst
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,7 @@ All notable changes to this project are documented in this file.
- Add negative bitwise shifting support for ``BigInteger`` to match C#
- Include address aliases in ``wallet`` command output
- Fix ``config maxpeers`` and update tests
- Fix error while parsing list arguments from prompt for smart contract test invocations


[0.8.4] 2019-02-14
Expand Down
7 changes: 1 addition & 6 deletions neo/Prompt/Utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -217,12 +217,7 @@ def parse_param(p, wallet=None, ignore_int=False, prefer_hex=True, parse_addr=Tr
# first, we'll try to parse an array
try:
items = eval(p, {"__builtins__": {'list': list}}, {})
if len(items) > 0 and type(items) is list:

parsed = []
for item in items:
parsed.append(parse_param(item, wallet, parse_addr=parse_addr))
return parsed
return items

except Exception as e:
# print("Could not eval items as array %s " % e)
Expand Down

0 comments on commit 147c644

Please sign in to comment.