Skip to content
This repository was archived by the owner on Nov 15, 2023. It is now read-only.
Prev Previous commit
Next Next commit
Update frame/balances/src/lib.rs
Co-authored-by: Oliver Tale-Yazdi <[email protected]>
  • Loading branch information
gavofyork and ggwpez authored Mar 21, 2023
commit 5cadf9a95761a7c43ff38883f7096b05900197c9
2 changes: 0 additions & 2 deletions frame/balances/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -455,8 +455,6 @@ pub mod pallet {
#[pallet::genesis_build]
impl<T: Config<I>, I: 'static> GenesisBuild<T, I> for GenesisConfig<T, I> {
fn build(&self) {
Pallet::<T, I>::integrity_test();

let total = self.balances.iter().fold(Zero::zero(), |acc: T::Balance, &(_, n)| acc + n);

<TotalIssuance<T, I>>::put(total);
Expand Down