typo in debug output

This commit is contained in:
Jude Nelson
2018-04-03 17:59:51 -04:00
parent 87b9f85e11
commit 5426171feb

View File

@@ -246,10 +246,10 @@ def namedb_create_token_genesis(con, initial_account_balances):
address = virtualchain.address_reencode(account_info['address'])
if 'name' in account_info and account_info['name'] is not None:
name = account_info['name']
log.debug('Grant {} to {} ({})'.format(address, account_info['value'], name))
log.debug('Grant {} to {} ({})'.format(account_info['value'], address, name))
else:
log.debug('Grant {} to {}'.format(address, account_info['value']))
log.debug('Grant {} to {}'.format(account_info['value'], address))
# set up initial account balances
sql = 'INSERT INTO accounts VALUES (?,?,?,?,?,?,?);'