-
Notifications
You must be signed in to change notification settings - Fork 430
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Set balance below existential (#1983)
* Added check to panic when set_account_balance receives a value less than the existential minimum * Restored comment * Used ChainSpec::default().minimum_balance as minimum * Removed the 0 from the check to reap the account * Removed tabs and spaces * Added comment for the 0 balance option * Updated CHANGELOG.md * Added tests for set_account_balance * cargo fmt and cargo clippy
- Loading branch information
1 parent
9bc8b3a
commit c8f9a75
Showing
3 changed files
with
52 additions
and
2 deletions.
There are no files selected for viewing
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