Skip to content

Commit

Permalink
Update helpers.py
Browse files Browse the repository at this point in the history
  • Loading branch information
m-kus authored Apr 4, 2020
1 parent 77ab05b commit a4ac0b0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pytezos/repl/helpers.py
Original file line number Diff line number Diff line change
Expand Up @@ -124,7 +124,7 @@ def do_patch(ctx: Context, prim, args, annots):
res = Mutez(get_int(args[1]))
elif key == 'NOW':
res = Timestamp(get_int(args[1]))
elif key in ['SOURCE', 'SENDER', 'ADDRESS']:
elif key in ['SOURCE', 'SENDER']:
res = Address.new(get_string(args[1]))
elif key == 'CHAIN_ID':
res = ChainID(get_string(args[1]))
Expand Down

0 comments on commit a4ac0b0

Please sign in to comment.