Unnecessary saving userOldPoint to userPointHistory[_addr][uEpoch + 1] when uEpoch is 0.
https://github.com/code-423n4/2024-03-neobase/blob/main/src/VotingEscrow.sol#L168-L171
Inside the _checkpoint() function:
It can be observed that userOldPoint is stored to userPointHistory[_addr][uEpoch + 1], but it will overwritten with userNewPoint afterward.
Consider to remove the uEpoch == 0 conditional action.
0xTheC0der (judge) commented:
