Skip to content
Snippets Groups Projects
Commit bde3e6ea authored by Robert Martin-Legene's avatar Robert Martin-Legene
Browse files

JSON does not want to become JSON ;-)

parent 25c7403c
No related branches found
No related tags found
No related merge requests found
......@@ -386,6 +386,8 @@ class CompiledContract:
where = json.loads(where)
if (type(where) is dict) and 'abi' in where:
where = where['abi']
if type(where) is str:
where = json.loads(where)
return Abi(where)
def instance(self, *args, **kwargs):
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment