getting rid of another BaseExceptions
This commit is contained in:
@@ -994,7 +994,7 @@ class Wallet:
|
|||||||
self.verify_message(previous, signature, "alias:%s:%s"%(alias,target))
|
self.verify_message(previous, signature, "alias:%s:%s"%(alias,target))
|
||||||
|
|
||||||
if not self.is_valid(target):
|
if not self.is_valid(target):
|
||||||
raise BaseException("Invalid bitcoin address")
|
raise ValueError("Invalid bitcoin address")
|
||||||
|
|
||||||
return target, signing_addr, auth_name
|
return target, signing_addr, auth_name
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user