Skip to content

Commit

Permalink
Comment log "Unexpected underflow in reducing consumer"
Browse files Browse the repository at this point in the history
  • Loading branch information
librelois authored and RomarQ committed Mar 5, 2024
1 parent b0cb718 commit b1a8ee8
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions substrate/frame/system/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1558,10 +1558,12 @@ impl<T: Config> Pallet<T> {
if a.consumers > 0 {
a.consumers -= 1;
} else {
log::error!(
// For moonbeam the consumers make no sense as this counter exist only to know when we can remove the account
// And we never remove the account on moonbeam because we can't remove the nonce due to immortal eth transactions.
/*log::error!(
target: LOG_TARGET,
"Logic error: Unexpected underflow in reducing consumer",
);
);*/
}
})
}
Expand Down

0 comments on commit b1a8ee8

Please sign in to comment.