Update checkpoints.cpp

Fixed typo