Nogrod
Nogrod copied to clipboard
pkg/modelx/modelx.go line 475: currentBlock.Height-uint64(Cfg.NAVG) error
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.