balances impl_currency WithdrawReasons note (#13964)

* add withdrawreason note

* improve comment

* Update frame/balances/src/impl_currency.rs

Co-authored-by: Kian Paimani <5588131+kianenigma@users.noreply.github.com>

* cargo fmt +nightly

---------

Co-authored-by: Kian Paimani <5588131+kianenigma@users.noreply.github.com>
This commit is contained in:
Liam Aharon
2023-04-21 18:46:54 +10:00
committed by GitHub
parent 0e46c9314c
commit eb17581e3c
@@ -16,6 +16,9 @@
// limitations under the License. // limitations under the License.
//! Implementations for the `Currency` family of traits. //! Implementations for the `Currency` family of traits.
//!
//! Note that `WithdrawReasons` are intentionally not used for anything in this implementation and
//! are expected to be removed in the near future, once migration to `fungible::*` traits is done.
use super::*; use super::*;
use frame_support::{ use frame_support::{