mirror of
https://github.com/aljazceru/bitfinex-api-py.git
synced 2025-12-21 15:54:26 +01:00
Fix object formatting
fees used as amount because of missing parameter in text variable.
This commit is contained in:
@@ -45,7 +45,7 @@ class Withdraw:
|
||||
return Withdraw(w_id, method, wallet, amount)
|
||||
|
||||
def __str__(self):
|
||||
''' Allow us to print the Transfer object in a pretty format '''
|
||||
text = "Withdraw <id={} from {} ({}) fee={}>"
|
||||
''' Allow us to print the Withdraw object in a pretty format '''
|
||||
text = "Withdraw <id={} from {} ({}) amount={} fee={}>"
|
||||
return text.format(self.id, self.wallet, self.method, self.amount,
|
||||
self.fee)
|
||||
|
||||
Reference in New Issue
Block a user