git://git.novaco.in
/
electrum-nvc.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
(parent:
e12699a
)
getting rid of another BaseExceptions
author
Jimbo77
<onlineregular@gmail.com>
Fri, 24 Aug 2012 01:17:30 +0000 (18:17 -0700)
committer
Jimbo77
<onlineregular@gmail.com>
Fri, 24 Aug 2012 01:17:30 +0000 (18:17 -0700)
lib/wallet.py
patch
|
blob
|
history
diff --git
a/lib/wallet.py
b/lib/wallet.py
index
fb3ba9a
..
dfc96fc
100644
(file)
--- 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