Skip to content

Commit

Permalink
Namecoin: Wallet: Rebrand some strings to Namecoin.
Browse files Browse the repository at this point in the history
  • Loading branch information
JeremyRand committed Aug 18, 2018
1 parent c2b182c commit e92818c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/wallet.py
Original file line number Diff line number Diff line change
Expand Up @@ -356,7 +356,7 @@ def test_addresses_sanity(self):
addrs = self.get_receiving_addresses()
if len(addrs) > 0:
if not bitcoin.is_address(addrs[0]):
raise WalletFileException('The addresses in this wallet are not bitcoin addresses.')
raise WalletFileException('The addresses in this wallet are not namecoin addresses.')

def synchronize(self):
pass
Expand Down Expand Up @@ -1641,7 +1641,7 @@ def sign_payment_request(self, key, alias, alias_addr, password):
def add_payment_request(self, req, config):
addr = req['address']
if not bitcoin.is_address(addr):
raise Exception(_('Invalid Bitcoin address.'))
raise Exception(_('Invalid Namecoin address.'))
if not self.is_mine(addr):
raise Exception(_('Address not in wallet.'))

Expand Down

0 comments on commit e92818c

Please sign in to comment.