Skip to content

Commit 9b9f9e0

Browse files
committed
withdraw fee
1 parent fd5484c commit 9b9f9e0

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

bfxapi/models/withdraw.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,8 @@ def from_raw_withdraw(raw_withdraw):
4242
method = raw_withdraw[WithdrawModel.METHOD]
4343
wallet = raw_withdraw[WithdrawModel.WALLET]
4444
amount = raw_withdraw[WithdrawModel.AMOUNT]
45-
return Withdraw(w_id, method, wallet, amount)
45+
fee = raw_withdraw[WithdrawModel.FEE]
46+
return Withdraw(w_id, method, wallet, amount, fee)
4647

4748
def __str__(self):
4849
"""

0 commit comments

Comments
 (0)