From cb644a5fab8cc19f1b85b4298ca00fdda6384d99 Mon Sep 17 00:00:00 2001 From: Sean McGary Date: Thu, 9 Jan 2025 13:07:57 -0600 Subject: [PATCH] leave block as 0 so we can use a uint64 --- internal/config/config.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/internal/config/config.go b/internal/config/config.go index 631cd71e..cf1c9e3d 100644 --- a/internal/config/config.go +++ b/internal/config/config.go @@ -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 ( @@ -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")