Skip to content
This repository was archived by the owner on May 22, 2023. It is now read-only.

Check for zero value on withdraw from keep #281

Merged
merged 5 commits into from
Mar 4, 2020
Merged

Check for zero value on withdraw from keep #281

merged 5 commits into from
Mar 4, 2020

Conversation

nkuba
Copy link
Member

@nkuba nkuba commented Mar 4, 2020

This PR adds validation of withdrawn value for the withdraw function. If there is nothing to withdraw we revert the transaction.

Closes: #280

nkuba added 4 commits March 4, 2020 14:41
We want to validate if value to withdraw for member is greater than
zero. If it's not we revert the transaction.
@nkuba nkuba self-assigned this Mar 4, 2020
@nkuba nkuba requested a review from pdyraga March 4, 2020 13:46
@pdyraga pdyraga merged commit f6d0825 into master Mar 4, 2020
@pdyraga pdyraga deleted the withdraw-zero branch March 4, 2020 15:30
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Withdraw on KeepBonding should check for zero value transfer
2 participants