fix: Update to use new listhistory rpc call
All checks were successful
Build Docker / Build Image (push) Successful in 1m20s
All checks were successful
Build Docker / Build Image (push) Successful in 1m20s
This commit is contained in:
parent
6b3791f0a2
commit
75e2523007
@ -145,7 +145,6 @@ def getCookie(cookie):
|
|||||||
else:
|
else:
|
||||||
return False
|
return False
|
||||||
|
|
||||||
|
|
||||||
def hashPassword(password):
|
def hashPassword(password):
|
||||||
# Hash a password
|
# Hash a password
|
||||||
return bcrypt.hashpw(password.encode('utf-8'), bcrypt.gensalt()).decode('utf-8')
|
return bcrypt.hashpw(password.encode('utf-8'), bcrypt.gensalt()).decode('utf-8')
|
||||||
|
@ -60,8 +60,8 @@ def check_payments():
|
|||||||
return False
|
return False
|
||||||
# Get last 20 transactions
|
# Get last 20 transactions
|
||||||
data = {
|
data = {
|
||||||
"method": "listtransactions",
|
"method": "listhistory",
|
||||||
"params": ["default", 20]
|
"params": ["default"]
|
||||||
}
|
}
|
||||||
|
|
||||||
resp = requests.post(url, json=data)
|
resp = requests.post(url, json=data)
|
||||||
|
Loading…
Reference in New Issue
Block a user