Browse Source

do not show pubkeu in validateaddress if the key is imported

283
thomasv 11 years ago
parent
commit
30f7d23297
  1. 5
      lib/commands.py

5
lib/commands.py

@ -166,8 +166,9 @@ class Commands:
out['address'] = addr
out['ismine'] = is_mine
if is_mine:
out['pubkey'] = self.wallet.get_public_key(addr)
account, sequence = self.wallet.get_address_index(addr)
if account != -1:
out['pubkey'] = self.wallet.get_public_key(addr)
return out
def getbalance(self, account= None):

Loading…
Cancel
Save