Typo confirm -> override in wallet send (#6507)

Wallet look in extra_params/args by "override" key (override = args["override"]) not "confirm".
Due to this confirmation doesn't works for now.
This commit is contained in:
cvet 2021-06-07 19:45:28 +03:00 committed by GitHub
parent 59d415fd71
commit 07282a8c8b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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