Skip to content
Snippets Groups Projects

[enh] #27: add transaction prompt confirmation with tx summary.

Merged [enh] #27: add transaction prompt confirmation with tx summary.
Merged Moul requested to merge transaction_confirmation into master
2 files
+ 5
1
Compare changes
  • Side-by-side
  • Inline
Files
2
+ 4
1
@@ -212,7 +212,10 @@ def cmd_transaction(ep, c):
else:
outputBackChange = None
generate_and_send_transaction(ep, seed, amount, output, comment, allSources, outputBackChange)
if c.contains_switches('yes') or c.contains_switches('y') or \
input("Do you confirm sending {} {} from {} to {} with \"{}\" as comment? [yes/no]: "\
.format(amount, get_current_block(ep)["currency"], get_publickey_from_seed(seed), output, comment)) == "yes":
generate_and_send_transaction(ep, seed, amount, output, comment, allSources, outputBackChange)
def show_amount_from_pubkey(ep, pubkey):
Loading