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:
|
||||
return False
|
||||
|
||||
|
||||
def hashPassword(password):
|
||||
# Hash a password
|
||||
return bcrypt.hashpw(password.encode('utf-8'), bcrypt.gensalt()).decode('utf-8')
|
||||
|
@ -60,8 +60,8 @@ def check_payments():
|
||||
return False
|
||||
# Get last 20 transactions
|
||||
data = {
|
||||
"method": "listtransactions",
|
||||
"params": ["default", 20]
|
||||
"method": "listhistory",
|
||||
"params": ["default"]
|
||||
}
|
||||
|
||||
resp = requests.post(url, json=data)
|
||||
|
Loading…
Reference in New Issue
Block a user