return renewal_deadline

This commit is contained in:
Jude Nelson
2018-04-26 00:08:26 -04:00
parent bfe729c6c2
commit 6501e17c48

View File

@@ -589,7 +589,7 @@ class BlockstackAPIEndpointHandler(SimpleHTTPRequestHandler):
'zonefile_hash': storage.get_zonefile_data_hash(zonefile_txt),
'address': name_rec['address'],
'blockchain': 'bitcoin',
'last_txid': name_rec['txid']
'last_txid': name_rec['txid'],
}
else:
@@ -607,6 +607,7 @@ class BlockstackAPIEndpointHandler(SimpleHTTPRequestHandler):
'last_txid': name_rec['txid'],
'blockchain': 'bitcoin',
'expire_block': name_rec['expire_block'],
'renewal_deadline': name_rec['renewal_deadline']
}
return self._reply_json(ret)