From 2de8df6758a8da50b4c2bdfcda5d0e81649936fb Mon Sep 17 00:00:00 2001 From: Jimbo77 Date: Thu, 23 Aug 2012 18:17:30 -0700 Subject: [PATCH] getting rid of another BaseExceptions --- lib/wallet.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/wallet.py b/lib/wallet.py index fb3ba9a15..dfc96fc6e 100644 --- a/lib/wallet.py +++ b/lib/wallet.py @@ -994,7 +994,7 @@ class Wallet: self.verify_message(previous, signature, "alias:%s:%s"%(alias,target)) if not self.is_valid(target): - raise BaseException("Invalid bitcoin address") + raise ValueError("Invalid bitcoin address") return target, signing_addr, auth_name