We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 96e7996 commit 05e7dd9Copy full SHA for 05e7dd9
models/pool_lmrewards/v3/state.go
@@ -90,7 +90,10 @@ func (mdl *LMRewardsv3) SetFarm(pools []dataCompressorv3.PoolData) {
90
func (mdl *LMRewardsv3) AddPoolv3(blockNum int64, pool string) {
91
dcAddr, found := mdl.Repo.GetDCWrapper().GetLatestv3DC()
92
if !found {
93
- log.Fatalf("DC not found for for %s at latest", pool)
+ if core.GetBaseChainId(mdl.Client) == 146 && blockNum < 9790594 {
94
+ return
95
+ }
96
+ log.Fatalf("DC not found for for %s at latest, blockNum %d ", pool, blockNum)
97
}
98
con, err := dataCompressorv3.NewDataCompressorv3(dcAddr, mdl.Client)
99
log.CheckFatal(err)
0 commit comments