Skip to content

Commit

Permalink
Missing docstrings
Browse files Browse the repository at this point in the history
  • Loading branch information
philogicae committed Jan 31, 2025
1 parent 0eb0519 commit f3cc2ba
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/aleph/sdk/connectors/superfluid.py
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,7 @@ async def _execute_operation_with_account(self, operation: Operation) -> str:
return await self.account._sign_and_send_transaction(populated_transaction)

def can_start_flow(self, flow: Decimal, block=True) -> bool:
"""Check if the account has enough funds to start a Superfluid flow of the given size."""
valid = False
if self.account.can_transact(block=block):
balance = self.account.get_super_token_balance()
Expand Down

0 comments on commit f3cc2ba

Please sign in to comment.