commit 45942e1ea4f67117362a732f4c91503b7af09d20
parent af1bfa566ac86ce4e8b336694a3d256cc922c03b
Author: ThomasV <thomasv@gitorious>
Date: Tue, 15 Nov 2011 08:49:19 +0100
update session
Diffstat:
1 file changed, 2 insertions(+), 0 deletions(-)
diff --git a/client/gui.py b/client/gui.py
@@ -557,6 +557,7 @@ class BitcoinGUI:
password = password_dialog() if self.wallet.use_encryption else None
status, msg = self.wallet.send( to_address, amount, label, password, True )
+ self.wallet.new_session() # we created a new change address
if status:
show_message( "payment sent.\n" + msg )
payto_entry.set_text("")
@@ -875,6 +876,7 @@ class BitcoinGUI:
else:
password = password_dialog() if self.wallet.use_encryption else None
success, ret = self.wallet.get_new_address(password)
+ self.wallet.new_session() # we created a new address
if success:
address = ret
#if label: self.wallet.labels[address] = label