-
Notifications
You must be signed in to change notification settings - Fork 2.1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
single-pool: remove minimum delegation check
this check is an artifact of a previous design. we used to include the minimum in our pool stake total and burned tokens when initializing so that it could not be withdrawn. later we changed to treating it as separate from pool stake entirely. therefore a post_pool_stake below minimum_delegation is valid in the case where the first deposit is below 1 sol. this fix allows such a deposit instead of returning a very frightening error message
- Loading branch information
Showing
4 changed files
with
3 additions
and
8 deletions.
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters