mirror of
https://github.com/aljazceru/bitfinex-api-py.git
synced 2025-12-24 01:04:22 +01:00
amount is NOT optional
This commit is contained in:
@@ -874,7 +874,7 @@ class BfxRest:
|
||||
message = await self.post(endpoint, payload)
|
||||
return message
|
||||
|
||||
async def generate_invoice(self, wallet='exchange', currency='LNX', amount=None):
|
||||
async def generate_invoice(self, amount, wallet='exchange', currency='LNX'):
|
||||
"""
|
||||
Generates a Lightning Network deposit invoice
|
||||
|
||||
|
||||
Reference in New Issue
Block a user