listWallets: Show balance in G1, not cents

This commit is contained in:
poka 2021-10-18 01:31:28 +02:00
parent db39e5c77d
commit efed7354df
1 changed files with 4 additions and 4 deletions

View File

@ -62,7 +62,7 @@ class ListWallets:
if (self.mbr and (dataWork['idty'] == None or dataWork['idty']['isMember'] == False)): continue
if (self.nonMbr and (dataWork['idty'] == None or dataWork['idty']['isMember'] == True)): continue
if (self.larf and (dataWork['idty'] != None)): continue
walletList.append({'pubkey': dataWork['script'],'balance': dataWork['balance']['amount'],'id': dataWork['idty']})
walletList.append({'pubkey': dataWork['script'],'balance': dataWork['balance']['amount']/100,'id': dataWork['idty']})
if (self.brut):
names = []