Bugfix: Must use toAddress instead of addressInKeysFile if toLabel is blank when receiving message

This commit is contained in:
Jonathan Warren 2013-05-15 18:03:54 -04:00
parent ab4a5da28a
commit 5cf30c1533

View File

@ -276,7 +276,7 @@ if __name__ == "__main__":
print 'Ripe digest that we will encode in the address:', ripe.digest().encode('hex')
returnedAddress = encodeAddress(addressVersionNumber,streamNumber,ripe.digest())
print 'Encoded address:', returnedAddress
status,addressVersionNumber,streamNumber,data = decodeAddress("oriDZJ7VAEjphwQmt7fACFqZJVwds26vW")
status,addressVersionNumber,streamNumber,data = decodeAddress(returnedAddress)
print '\nAfter decoding address:'
print 'Status:', status
print 'addressVersionNumber', addressVersionNumber