Skip to content

Commit

Permalink
leave block as 0 so we can use a uint64
Browse files Browse the repository at this point in the history
  • Loading branch information
seanmcgary committed Jan 9, 2025
1 parent 55e1e96 commit cb644a5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions internal/config/config.go
Original file line number Diff line number Diff line change
Expand Up @@ -287,7 +287,7 @@ func (c *Config) GetRewardsSqlForkDates() (ForkMap, error) {
return nil, errors.New("unsupported chain")
}

type ModelForkMap map[ForkName]int64
type ModelForkMap map[ForkName]uint64

// Model forks, named after US capitols
const (
Expand All @@ -308,7 +308,7 @@ func (c *Config) GetModelForks() (ModelForkMap, error) {
}, nil
case Chain_Mainnet:
return ModelForkMap{
ModelFork_Austin: -1, // doesnt apply to mainnet
ModelFork_Austin: 0, // doesnt apply to mainnet
}, nil
}
return nil, errors.New("unsupported chain")
Expand Down

0 comments on commit cb644a5

Please sign in to comment.