Skip to content

Conversation

@yshmarov
Copy link

@yshmarov yshmarov commented Apr 5, 2025

currently check_low_balance is triggered only on def add_credits.

while we really want to check low balance when spending credits.

def deduct_credits does not check_low_balance.

so there is no way to trigger on_low_balance when deducting credits on an operation!

=> this will trigger on_low_balance logic when deducting credits.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant