Correct optional arg return for bytecode

This commit is contained in:
lash 2023-02-14 06:03:13 +00:00
parent db30d4aaf4
commit 15b6b4fa46
Signed by: lash
GPG Key ID: 21D2E7BB88C2A746

View File

@ -115,5 +115,5 @@ def args(v):
if v == 'create': if v == 'create':
return (['name', 'symbol', 'decimals'], ['version'],) return (['name', 'symbol', 'decimals'], ['version'],)
elif v == 'default' or v == 'bytecode': elif v == 'default' or v == 'bytecode':
return ([], 'version',) return ([], ['version'],)
raise ValueError('unknown command: ' + v) raise ValueError('unknown command: ' + v)