mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-06-14 00:31:07 +00:00
fungible::Unbalanced::decrease_balance: Handle precision properly (#2823)
This commit is contained in:
@@ -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"
|
||||
Reference in New Issue
Block a user