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

Merged
Atheros1 merged 2 commits from master into master 2013-05-16 00:04:44 +02:00
Showing only changes of commit 5cf30c1533 - Show all commits

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