Browse Source

error handling

283
thomasv 13 years ago
parent
commit
85c16d10d7
  1. 8
      client/electrum

8
client/electrum

@ -76,13 +76,13 @@ if __name__ == '__main__':
elif k =='signer':
signer = uv
if not wallet.is_valid(signer):
print signer
print "trying canonical URL"
import urllib
url = 'http://'+signer+'/bitcoin.id'
print url
try:
signer = urllib.urlopen(url).read().strip()
print repr(signer)
except:
# no need to display something, the signature verification will fail anyway
pass
else: print k,v
if k in ['signer','signature']:

Loading…
Cancel
Save