use base64 for the API passphrase and random address label

This commit is contained in:
Jonathan Warren 2013-03-19 16:18:35 -04:00
parent 267896cbe1
commit 7e190c4d23
1 changed files with 3 additions and 3 deletions

View File

@ -24,9 +24,9 @@ print jsonAddresses
print 'Now that we have our address data in a nice Python data structure, let\'s look at the first address (index 0) and print its label:'
print jsonAddresses['addresses'][0]['label']
print 'Uncomment this next line to create a new random address.'
addressLabel = 'new address label'.encode('base64')
print api.createRandomAddress(addressLabel)
print 'Uncomment the next two lines to create a new random address.'
#addressLabel = 'new address label'.encode('base64')
#print api.createRandomAddress(addressLabel)
print 'Uncomment these next four lines to create new deterministic addresses.'
#passphrase = 'asdfasdfqwer'.encode('base64')