mirror of
https://git.wownero.com/lza_menace/wownero-python.git
synced 2024-08-15 03:25:25 +00:00
Print addresses for single-account wallets
This commit is contained in:
parent
dfc70b5b5f
commit
3edb981078
1 changed files with 3 additions and 0 deletions
|
@ -102,6 +102,9 @@ if len(w.accounts) > 1:
|
|||
for tx in outs:
|
||||
print(pmt2str(tx))
|
||||
else:
|
||||
addresses = w.accounts[0].addresses()
|
||||
print("{num:2d} address(es):".format(num=len(addresses)))
|
||||
print("\n".join(map(a2str, addresses)))
|
||||
ins = w.incoming(unconfirmed=True)
|
||||
if ins:
|
||||
print("\nIncoming transactions:")
|
||||
|
|
Loading…
Reference in a new issue