From 9b9f9e0689339eb98e9c4e3f9c95856b89883900 Mon Sep 17 00:00:00 2001 From: itsdeka Date: Wed, 9 Nov 2022 14:15:36 +0100 Subject: [PATCH] withdraw fee --- bfxapi/models/withdraw.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/bfxapi/models/withdraw.py b/bfxapi/models/withdraw.py index a13879d..607c337 100644 --- a/bfxapi/models/withdraw.py +++ b/bfxapi/models/withdraw.py @@ -42,7 +42,8 @@ class Withdraw: method = raw_withdraw[WithdrawModel.METHOD] wallet = raw_withdraw[WithdrawModel.WALLET] amount = raw_withdraw[WithdrawModel.AMOUNT] - return Withdraw(w_id, method, wallet, amount) + fee = raw_withdraw[WithdrawModel.FEE] + return Withdraw(w_id, method, wallet, amount, fee) def __str__(self): """