xmrwallet OpLabel, OpNew: skip wallet restart and refresh
This commit is contained in:
parent
c7f240bb5b
commit
72565eb646
3 changed files with 3 additions and 3 deletions
|
|
@ -41,5 +41,5 @@ class MoneroTwCtl(TwCtlWithStore):
|
|||
None,
|
||||
spec = f'{m.idx}:{m.acct_idx}:{m.addr_idx},{comment}',
|
||||
compat_call = True)
|
||||
await op.restart_wallet_daemon()
|
||||
op.c.call('close_wallet')
|
||||
return await op.main(add_timestr=add_timestr)
|
||||
|
|
|
|||
|
|
@ -40,7 +40,7 @@ class OpLabel(OpMixinSpec, OpWallet):
|
|||
|
||||
h = MoneroWalletRPC(self, self.source)
|
||||
|
||||
h.open_wallet('source')
|
||||
h.open_wallet('source', refresh=False)
|
||||
wallet_data = h.get_wallet_data()
|
||||
|
||||
max_acct = len(wallet_data.accts_data['subaddress_accounts']) - 1
|
||||
|
|
|
|||
|
|
@ -29,7 +29,7 @@ class OpNew(OpMixinSpec, OpWallet):
|
|||
|
||||
async def main(self):
|
||||
h = MoneroWalletRPC(self, self.source)
|
||||
h.open_wallet('Monero')
|
||||
h.open_wallet('Monero', refresh=False)
|
||||
|
||||
desc = 'account' if self.account is None else 'address'
|
||||
label = TwComment(
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue