From 8c65ba54e93a9b97ef4f3c285fb714972094a81c Mon Sep 17 00:00:00 2001 From: Davide Casale Date: Thu, 26 Oct 2023 07:56:21 +0200 Subject: [PATCH] Rename property 'renew' to 'op_renew' in get_deposit_address. --- bfxapi/rest/endpoints/rest_auth_endpoints.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/bfxapi/rest/endpoints/rest_auth_endpoints.py b/bfxapi/rest/endpoints/rest_auth_endpoints.py index 551389c..d17ef66 100644 --- a/bfxapi/rest/endpoints/rest_auth_endpoints.py +++ b/bfxapi/rest/endpoints/rest_auth_endpoints.py @@ -445,10 +445,10 @@ class RestAuthEndpoints(Middleware): def get_deposit_address(self, wallet: str, method: str, - renew: bool = False) -> Notification[DepositAddress]: + op_renew: bool = False) -> Notification[DepositAddress]: return _Notification[DepositAddress](serializers.DepositAddress) \ .parse(*self._post("auth/w/deposit/address", \ - body={ "wallet": wallet, "method": method, "renew": renew })) + body={ "wallet": wallet, "method": method, "op_renew": op_renew })) def generate_deposit_invoice(self, wallet: str,