fix: Update to use new listhistory rpc call
All checks were successful
Build Docker / Build Image (push) Successful in 1m20s

This commit is contained in:
Nathan Woodburn 2024-12-10 13:25:37 +11:00
parent 6b3791f0a2
commit 75e2523007
Signed by: nathanwoodburn
GPG Key ID: 203B000478AD0EF1
2 changed files with 2 additions and 3 deletions

View File

@ -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')

View File

@ -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)