From cdf4d5d75cbc663ad9ca47e9e631157f066aeec5 Mon Sep 17 00:00:00 2001 From: amos Date: Mon, 23 Sep 2013 21:05:11 -0700 Subject: [PATCH] Change the accepted address versions Update _verifyAddress to accept version 4. --- src/bitmessagemain.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/bitmessagemain.py b/src/bitmessagemain.py index 3d7f5c73..4e473c85 100755 --- a/src/bitmessagemain.py +++ b/src/bitmessagemain.py @@ -166,7 +166,7 @@ class MySimpleXMLRPCRequestHandler(SimpleXMLRPCRequestHandler): raise APIError(10, 'Address version number too high (or zero) in address: ' + address) raise APIError(7, 'Could not decode address: ' + address + ' : ' + status) if addressVersionNumber < 2 or addressVersionNumber > 3: - raise APIError(11, 'The address version number currently must be 2 or 3. Others aren\'t supported. Check the address.') + raise APIError(11, 'The address version number currently must be 2, 3 or 4. Others aren\'t supported. Check the address.') if streamNumber != 1: raise APIError(12, 'The stream number must be 1. Others aren\'t supported. Check the address.')