minor fixes and cleanups

This commit is contained in:
The MMGen Project 2024-03-12 13:21:56 +00:00
commit 1581437f0d
Signed by: mmgen
GPG key ID: 3F8B1861E32B7DA2
2 changed files with 2 additions and 2 deletions

View file

@ -156,7 +156,7 @@ async def main():
cfg._util.qmsg(
f'OK. {al.num_addrs} addresses'
+ (f' from Seed ID {al.al_id.sid}' if hasattr(al.al_id,'sid') else '') )
+ (f' from Seed ID {al.al_id.sid.hl()}' if hasattr(al.al_id,'sid') else '') )
msg(
f'Importing {len(al.data)} address{suf(al.data,"es")} from {infile}'

View file

@ -47,7 +47,7 @@ class tool_cmd(tool_cmd_base):
ignore_daemon_version = True )
else:
from ..rpc import rpc_init
r = await rpc_init( self.cfg, self.proto, ignore_daemon_version=True )
r = await rpc_init(self.cfg, self.proto, ignore_daemon_version=True, ignore_wallet=True)
return f'{d.coind_name} version {r.daemon_version} ({r.daemon_version_str})'
async def getbalance(self,