Commit fb82a7b1 authored by Moul's avatar Moul
Browse files

[fix] renamming c to cli-args missing. pep8.

parent cc1af63b
......@@ -21,10 +21,10 @@ def send_transaction(ep, cli_args):
seed = auth_method(cli_args)
issuer_pubkey = get_publickey_from_seed(seed)
tx_confirmation = transaction_confirmation(ep, c, issuer_pubkey, amount, ud, output, comment)
tx_confirmation = transaction_confirmation(ep, cli_args, issuer_pubkey, amount, ud, output, comment)
if cli_args.contains_switches('yes') or cli_args.contains_switches('y') or \
input(tabulate(tx_confirmation, tablefmt="fancy_grid") + \
"\nDo you confirm sending this transaction? [yes/no]: ") == "yes":
input(tabulate(tx_confirmation, tablefmt="fancy_grid") +
"\nDo you confirm sending this transaction? [yes/no]: ") == "yes":
generate_and_send_transaction(ep, seed, issuer_pubkey, amount, output, comment, allSources, outputBackChange)
......
......@@ -50,7 +50,7 @@ def id_pubkey_correspondence(ep, id_pubkey):
else:
print("Public keys found matching '{}':\n".format(id_pubkey))
for pubkey in pubkeys:
print("→", pubkey["pubkey"], end = " ")
print("→", pubkey["pubkey"], end=" ")
try:
print("↔ " + get_request(ep, "wot/identity-of/" + pubkey["pubkey"])["uid"])
except:
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment