You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
if currentBlock.Height != uint64(0) && height < currentBlock.Height-uint64(Cfg.NAVG) { return errors.New("bock too old") }
when uint64(Cfg.NAVG) is bigger than currentBlock.Height, the result of subtraction will be a very large uint64 number. cause this function always return error.
The text was updated successfully, but these errors were encountered:
in file: pkg/modelx/modelx.go
if currentBlock.Height != uint64(0) && height < currentBlock.Height-uint64(Cfg.NAVG) { return errors.New("bock too old") }
when uint64(Cfg.NAVG) is bigger than currentBlock.Height, the result of subtraction will be a very large uint64 number. cause this function always return error.
The text was updated successfully, but these errors were encountered: