mirror of
https://github.com/lalanza808/monero.fail.git
synced 2025-08-20 13:18:08 -04:00
add donation address
This commit is contained in:
parent
2fb28e90fb
commit
4b9e4591c3
4 changed files with 35 additions and 12 deletions
|
@ -37,6 +37,8 @@ def check():
|
|||
assert "status" in r.json()
|
||||
assert "offline" in r.json()
|
||||
assert "height" in r.json()
|
||||
if 'donation_address' in r.json():
|
||||
node.donation_address = r.json()['donation_address']
|
||||
has_cors = "Access-Control-Allow-Origin" in r.headers
|
||||
is_ssl = node.url.startswith("https://")
|
||||
if r.json()["status"] == "OK":
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue