Skip to content
This repository has been archived by the owner on Mar 13, 2023. It is now read-only.

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
AurevoirXavier committed Sep 8, 2022
1 parent fe6d8ef commit f3bc318
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion frame/balances/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1217,7 +1217,7 @@ pub mod pallet {
} else {
Locks::<T, I>::insert(who, bounded_locks);
if !existed {
if <frame_system::Pallet<T>>::inc_consumers(who).is_err() {
if <frame_system::Pallet<T>>::inc_consumers_without_limit(who).is_err() {
// No providers for the locks. This is impossible under normal circumstances
// since the funds that are under the lock will themselves be stored in the
// account and therefore will need a reference.
Expand Down

0 comments on commit f3bc318

Please sign in to comment.