mirror of
https://git.wownero.com/wownero/tippero.git
synced 2024-08-15 00:33:14 +00:00
withdraw: catch lack of parameter for !resolve
This commit is contained in:
parent
4dd13feef6
commit
051a0d3d86
1 changed files with 2 additions and 0 deletions
|
@ -237,6 +237,8 @@ def Withdraw(link,cmd):
|
||||||
def Resolve(link,cmd):
|
def Resolve(link,cmd):
|
||||||
try:
|
try:
|
||||||
address=GetParam(cmd,1)
|
address=GetParam(cmd,1)
|
||||||
|
if not address:
|
||||||
|
raise RuntimeError("")
|
||||||
except Exception,e:
|
except Exception,e:
|
||||||
link.send('usage: !resolve <address>')
|
link.send('usage: !resolve <address>')
|
||||||
return
|
return
|
||||||
|
|
Loading…
Reference in a new issue