Skip to content

Commit

Permalink
Typo confirm -> override in wallet send (Chia-Network#6507)
Browse files Browse the repository at this point in the history
Wallet look in extra_params/args by "override" key (override = args["override"]) not "confirm".
Due to this confirmation doesn't works for now.
  • Loading branch information
cvet authored Jun 7, 2021
1 parent 59d415f commit 07282a8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions chia/cmds/wallet.py
Original file line number Diff line number Diff line change
Expand Up @@ -79,9 +79,9 @@ def get_transactions_cmd(wallet_rpc_port: int, fingerprint: int, id: int, offset
"-o", "--override", help="Submits transaction without checking for unusual values", is_flag=True, default=False
)
def send_cmd(
wallet_rpc_port: int, fingerprint: int, id: int, amount: str, fee: str, address: str, confirm: bool
wallet_rpc_port: int, fingerprint: int, id: int, amount: str, fee: str, address: str, override: bool
) -> None:
extra_params = {"id": id, "amount": amount, "fee": fee, "address": address, "confirm": confirm}
extra_params = {"id": id, "amount": amount, "fee": fee, "address": address, "override": override}
import asyncio
from .wallet_funcs import execute_with_wallet, send

Expand Down

0 comments on commit 07282a8

Please sign in to comment.