Skip to content

Commit

Permalink
fix: fix params number of top accounts
Browse files Browse the repository at this point in the history
  • Loading branch information
dadamu committed May 20, 2024
1 parent 4d1687c commit 7f034f1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion database/top_accounts.go
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ import (

// SaveTopAccounts saves top accounts inside the database
func (db *Db) SaveTopAccounts(accounts []types.TopAccount, height int64) error {
paramsNumber := 4
paramsNumber := 3
slices := dbutils.SplitTopAccounts(accounts, paramsNumber)

for _, accounts := range slices {
Expand Down

0 comments on commit 7f034f1

Please sign in to comment.