diff --git a/accounts.py b/accounts.py index 4593021..90cbb77 100644 --- a/accounts.py +++ b/accounts.py @@ -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') diff --git a/payments.py b/payments.py index c8c9510..93a0137 100644 --- a/payments.py +++ b/payments.py @@ -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)