Skip to content

Commit

Permalink
fix(epoch): Linting issue
Browse files Browse the repository at this point in the history
  • Loading branch information
ramiroJCB committed Aug 20, 2024
1 parent 82730de commit 8acdb43
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion dot/state/epoch.go
Original file line number Diff line number Diff line change
Expand Up @@ -208,7 +208,8 @@ func restoreMapFromDisk[T types.NextConfigDataV1 | types.NextEpochData](db datab
}

// getNextEpochOrConfigData retrieves the next epoch or config data from the iterator
func getNextEpochOrConfigData[T types.NextConfigDataV1 | types.NextEpochData](iter database.Iterator) (*T, uint64, common.Hash, error) {
func getNextEpochOrConfigData[T types.NextConfigDataV1 | types.NextEpochData](iter database.Iterator) (
*T, uint64, common.Hash, error) {
nextData := new(T)
key := string(iter.Key())
value := iter.Value()
Expand Down

0 comments on commit 8acdb43

Please sign in to comment.