Skip to content

Commit

Permalink
Fix: smart rollup count
Browse files Browse the repository at this point in the history
  • Loading branch information
aopoltorzhicky committed Sep 28, 2023
1 parent 062a5c2 commit f2a8c45
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion internal/postgres/store/store.go
Original file line number Diff line number Diff line change
Expand Up @@ -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 -
Expand Down

0 comments on commit f2a8c45

Please sign in to comment.