Browse Source

add recipient to addressbook

283
ThomasV 13 years ago
parent
commit
89d6971b8c
  1. 5
      client/electrum
  2. 1
      client/gui.py

5
client/electrum

@ -561,7 +561,10 @@ class Wallet:
out = self.send_tx(tx)
if out != tx_hash:
return False, "error: hash mismatch"
wallet.labels[tx_hash] = label
if to_address not in self.addressbook:
self.addressbook.append(to_address)
if label:
wallet.labels[tx_hash] = label
wallet.save()
return True, tx_hash

1
client/gui.py

@ -462,6 +462,7 @@ class BitcoinGUI:
payto_entry.set_text("")
label_entry.set_text("")
amount_entry.set_text("")
self.update_sending_tab()
else:
show_message( msg )

Loading…
Cancel
Save