forked from paritytech/polkadot-sdk
-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
…paritytech#2823) (cherry picked from commit 1c95310)
- Loading branch information
1 parent
542721d
commit 9f6a8dd
Showing
3 changed files
with
46 additions
and
3 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
title: "`fungible::Unbalanced::decrease_balance`: Handle `precision` properly" | ||
|
||
doc: | ||
- audience: Runtime Dev | ||
description: | | ||
`fungible::Unbalanced::decrease_balance` will now handle `precision` properly. This means when | ||
passing `Exact`, it will ensure that the available balance is bigger or equal to the `amount` | ||
that should be deducted. | ||
|
||
crates: | ||
- name: "frame-support" |
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