change internal format of requests
This commit is contained in:
@@ -278,9 +278,10 @@ def parse_URI(uri):
|
||||
if 'message' in out:
|
||||
out['message'] = out['message'].decode('utf8')
|
||||
out['memo'] = out['message']
|
||||
if 'timestamp' in out:
|
||||
out['timestamp'] = int(out['timestamp'])
|
||||
out['expiration'] = int(out['expiration'])
|
||||
if 'time' in out:
|
||||
out['time'] = int(out['time'])
|
||||
if 'exp' in out:
|
||||
out['exp'] = int(out['exp'])
|
||||
if 'sig' in out:
|
||||
out['sig'] = bitcoin.base_decode(out['sig'], None, base=58).encode('hex')
|
||||
|
||||
|
||||
Reference in New Issue
Block a user