We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 18f50d4 + e4559cf commit 183f66eCopy full SHA for 183f66e
cardano_node_tests/tests/common.py
@@ -349,9 +349,14 @@ def _get_funded_addresses(
349
If `amount` is provided, fund once and never re-fund.
350
If `amount` is not provided, re-fund when balance drops below `min_amount`.
351
"""
352
- fund_amount = amount or 150_000_000
353
- # Re-fund the addresses if the amount is lower than this
354
- min_amount = 50_000_000
+ if amount is None:
+ fund_amount = 150_000_000
+ # Re-fund the addresses if the amount is lower than this
355
+ min_amount = 50_000_000
356
+ else:
357
+ # Use the exact specified amount
358
+ fund_amount = amount
359
+ min_amount = amount
360
361
if caching_key:
362
fixture_cache: cluster_management.FixtureCache[list | None]
0 commit comments