From 33ac9eea137a5391a3fdbb3145cef530a4f04d5f Mon Sep 17 00:00:00 2001 From: Lex Berezhny Date: Sun, 24 Mar 2019 21:53:52 -0400 Subject: [PATCH] fix is_valid_address --- torba/client/baseledger.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/torba/client/baseledger.py b/torba/client/baseledger.py index 7b543c258..740f91377 100644 --- a/torba/client/baseledger.py +++ b/torba/client/baseledger.py @@ -156,7 +156,7 @@ class BaseLedger(metaclass=LedgerRegistry): @classmethod def is_valid_address(cls, address): decoded = Base58.decode(address) - return decoded[0] == cls.pubkey_address_prefix + return decoded[0] == cls.pubkey_address_prefix[0] @classmethod def public_key_to_address(cls, public_key):