From 7e190c4d23c06f6c14d6c431b11c98b26dc61105 Mon Sep 17 00:00:00 2001 From: Jonathan Warren Date: Tue, 19 Mar 2013 16:18:35 -0400 Subject: [PATCH] use base64 for the API passphrase and random address label --- api client.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/api client.py b/api client.py index 633f2b8a..9d33d69e 100644 --- a/api client.py +++ b/api client.py @@ -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')