mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-06-11 21:11:07 +00:00
Removes incorrect try-state check in staking (#14186)
Co-authored-by: parity-processbot <>
This commit is contained in:
@@ -1837,10 +1837,6 @@ impl<T: Config> Pallet<T> {
|
||||
ledger.unlocking.iter().fold(ledger.active, |a, c| a + c.value);
|
||||
ensure!(real_total == ledger.total, "ledger.total corrupt");
|
||||
|
||||
if !(ledger.active >= T::Currency::minimum_balance() || ledger.active.is_zero()) {
|
||||
log!(warn, "ledger.active less than ED: {:?}, {:?}", ctrl, ledger)
|
||||
}
|
||||
|
||||
Ok(())
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user