logged balance details

This commit is contained in:
மனோஜ்குமார் பழனிச்சாமி 2022-05-08 13:53:07 +05:30
parent 45b328af2e
commit f43ae0ea43

View File

@ -300,7 +300,8 @@ class Wallets:
if min_stake_amount is not None and min_stake_amount > max_stake_amount: if min_stake_amount is not None and min_stake_amount > max_stake_amount:
if self._log: if self._log:
logger.warning("Minimum stake amount > available balance.") logger.warning("Minimum stake amount > available balance."
f"{min_stake_amount} > {max_stake_amount}")
return 0 return 0
if min_stake_amount is not None and stake_amount < min_stake_amount: if min_stake_amount is not None and stake_amount < min_stake_amount:
if self._log: if self._log: