From 5cf30c1533462f89014f959a681f743708d4c6f7 Mon Sep 17 00:00:00 2001 From: Jonathan Warren Date: Wed, 15 May 2013 18:03:54 -0400 Subject: [PATCH] Bugfix: Must use toAddress instead of addressInKeysFile if toLabel is blank when receiving message --- src/addresses.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/addresses.py b/src/addresses.py index 00a2df83..a6a571f6 100644 --- a/src/addresses.py +++ b/src/addresses.py @@ -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