diff --git a/internal/postgres/store/store.go b/internal/postgres/store/store.go index 8c4d899ee..cd974cd57 100644 --- a/internal/postgres/store/store.go +++ b/internal/postgres/store/store.go @@ -97,7 +97,7 @@ func (store *Store) AddGlobalConstants(constants ...*contract.GlobalConstant) { // AddSmartRollups - func (store *Store) AddSmartRollups(rollups ...*smartrollup.SmartRollup) { store.SmartRollups = append(store.SmartRollups, rollups...) - store.Stats.ContractsCount += len(rollups) + store.Stats.SmartRollupsCount += len(rollups) } // AddAccounts -