I am having trouble getting geth 1.8.27 to have a static difficulty on a private network. I followed the instructions from here. But when I test it, the difficulty still increases.
I tried again, changed both intstances of CalcDifficulty, then diffed the built binary with the installed one from apt to verify they were different, then manually removed the installed one from apt, and replaced it with the one I built. Deleted the existing chains, started over, and difficulty still increased.
Am I missing something? Or did 1.8 change how it checks difficulty? Or is the make script just pulling from github and ignoring my code changes?
Thanks for any help.