tgetting rid of another BaseExceptions - electrum - Electrum Bitcoin wallet
HTML git clone https://git.parazyd.org/electrum
DIR Log
DIR Files
DIR Refs
DIR Submodules
---
DIR commit 2de8df6758a8da50b4c2bdfcda5d0e81649936fb
DIR parent e12699ae75cb23ac6c2c6f5db21c29ab0dfa9274
HTML Author: Jimbo77 <onlineregular@gmail.com>
Date: Thu, 23 Aug 2012 18:17:30 -0700
getting rid of another BaseExceptions
Diffstat:
M lib/wallet.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
---
DIR diff --git a/lib/wallet.py b/lib/wallet.py
t@@ -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