mmgen-tool xmrwallet: add post_init() method
This commit is contained in:
parent
627d301076
commit
95591de46c
1 changed files with 5 additions and 1 deletions
|
|
@ -1102,7 +1102,7 @@ class MMGenToolCmdMonero(MMGenToolCmds):
|
|||
passwd = self.wd.passwd
|
||||
)
|
||||
|
||||
self.accts_data = {}
|
||||
self.post_init()
|
||||
|
||||
def create_addr_data(self):
|
||||
if wallets:
|
||||
|
|
@ -1116,6 +1116,7 @@ class MMGenToolCmdMonero(MMGenToolCmds):
|
|||
def stop_daemon(self):
|
||||
self.wd.stop()
|
||||
|
||||
def post_init(self): pass
|
||||
def post_process(self): pass
|
||||
|
||||
def get_wallet_fn(self,d):
|
||||
|
|
@ -1231,6 +1232,9 @@ class MMGenToolCmdMonero(MMGenToolCmds):
|
|||
await self.c.call('close_wallet')
|
||||
return True
|
||||
|
||||
def post_init(self):
|
||||
self.accts_data = {}
|
||||
|
||||
def post_process(self):
|
||||
d = self.accts_data
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue