Skip to content

Commit

Permalink
client: rename parameter to token-approve command
Browse files Browse the repository at this point in the history
  • Loading branch information
dtebbs committed Aug 21, 2020
1 parent 559ab6c commit 50f749e
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions client/commands/zeth_token_approve.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,21 +9,21 @@


@command()
@argument("tokens")
@argument("value")
@option("--eth-addr", help="Sender eth address or address filename")
@option("--eth-private-key", help="Sender eth private key")
@option("--wait", is_flag=True, help="Wait for transaction to complete")
@pass_context
def token_approve(
ctx: Context,
tokens: str,
value: str,
eth_addr: str,
eth_private_key: str,
wait: bool) -> None:
"""
Approve the mixer to spend some amount of tokens
"""
approve_value = EtherValue(tokens)
approve_value = EtherValue(value)
eth_addr = load_eth_address(eth_addr)
eth_pk = load_eth_private_key(eth_private_key)
client_ctx = ctx.obj
Expand Down

0 comments on commit 50f749e

Please sign in to comment.