Bugfix: Must use toAddress instead of addressInKeysFile if toLabel is blank when receiving message #154
|
@ -276,7 +276,7 @@ if __name__ == "__main__":
|
||||||
print 'Ripe digest that we will encode in the address:', ripe.digest().encode('hex')
|
print 'Ripe digest that we will encode in the address:', ripe.digest().encode('hex')
|
||||||
returnedAddress = encodeAddress(addressVersionNumber,streamNumber,ripe.digest())
|
returnedAddress = encodeAddress(addressVersionNumber,streamNumber,ripe.digest())
|
||||||
print 'Encoded address:', returnedAddress
|
print 'Encoded address:', returnedAddress
|
||||||
status,addressVersionNumber,streamNumber,data = decodeAddress("oriDZJ7VAEjphwQmt7fACFqZJVwds26vW")
|
status,addressVersionNumber,streamNumber,data = decodeAddress(returnedAddress)
|
||||||
print '\nAfter decoding address:'
|
print '\nAfter decoding address:'
|
||||||
print 'Status:', status
|
print 'Status:', status
|
||||||
print 'addressVersionNumber', addressVersionNumber
|
print 'addressVersionNumber', addressVersionNumber
|
||||||
|
|
Reference in New Issue
Block a user