mirror of
https://github.com/aljazceru/bitfinex-api-py.git
synced 2025-12-22 00:04:20 +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)
|
return Withdraw(w_id, method, wallet, amount)
|
||||||
|
|
||||||
def __str__(self):
|
def __str__(self):
|
||||||
''' Allow us to print the Transfer object in a pretty format '''
|
''' Allow us to print the Withdraw object in a pretty format '''
|
||||||
text = "Withdraw <id={} from {} ({}) fee={}>"
|
text = "Withdraw <id={} from {} ({}) amount={} fee={}>"
|
||||||
return text.format(self.id, self.wallet, self.method, self.amount,
|
return text.format(self.id, self.wallet, self.method, self.amount,
|
||||||
self.fee)
|
self.fee)
|
||||||
|
|||||||
Reference in New Issue
Block a user