Bugfix: Must use toAddress instead of addressInKeysFile if toLabel is blank when receiving message
This commit is contained in:
parent
ab4a5da28a
commit
5cf30c1533
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue
Block a user