-
Notifications
You must be signed in to change notification settings - Fork 60
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
PR: Add Last Withdrawal, and Total Amount of Deposits Greater OR Equals Conditions #1893
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Passing getLightningInvoice
into ProcessUpdateBudget
does not work. It must be part of the transaction in order to be atomic. I mean, it must use the tx
to query
Oh! thank @Evanfeenstra, I have made that change, can you please highlight the line, I tried searching locally but couldn't find it. |
you already made the other change previously. Go ahead and merge this PR @elraphty |
Okay, nice |
Describe your changes
This PR adds a condition to check that the last budget withdrawal time is greater than 1 one, it also checks that the sum of all the deposits In a workspace is greater than the sum of all withdrawals plus amount the user wants to withdraw
Issue ticket number and link
Type of change
Checklist before requesting a review