mirror of
https://github.com/LBRYFoundation/LBRY-Vault.git
synced 2025-09-08 03:29:50 +00:00
update session
This commit is contained in:
parent
af1bfa566a
commit
45942e1ea4
1 changed files with 2 additions and 0 deletions
|
@ -557,6 +557,7 @@ class BitcoinGUI:
|
||||||
password = password_dialog() if self.wallet.use_encryption else None
|
password = password_dialog() if self.wallet.use_encryption else None
|
||||||
|
|
||||||
status, msg = self.wallet.send( to_address, amount, label, password, True )
|
status, msg = self.wallet.send( to_address, amount, label, password, True )
|
||||||
|
self.wallet.new_session() # we created a new change address
|
||||||
if status:
|
if status:
|
||||||
show_message( "payment sent.\n" + msg )
|
show_message( "payment sent.\n" + msg )
|
||||||
payto_entry.set_text("")
|
payto_entry.set_text("")
|
||||||
|
@ -875,6 +876,7 @@ class BitcoinGUI:
|
||||||
else:
|
else:
|
||||||
password = password_dialog() if self.wallet.use_encryption else None
|
password = password_dialog() if self.wallet.use_encryption else None
|
||||||
success, ret = self.wallet.get_new_address(password)
|
success, ret = self.wallet.get_new_address(password)
|
||||||
|
self.wallet.new_session() # we created a new address
|
||||||
if success:
|
if success:
|
||||||
address = ret
|
address = ret
|
||||||
#if label: self.wallet.labels[address] = label
|
#if label: self.wallet.labels[address] = label
|
||||||
|
|
Loading…
Add table
Reference in a new issue