diff --git a/raft/log.go b/raft/log.go index 80ed7eeb..57a33f3d 100644 --- a/raft/log.go +++ b/raft/log.go @@ -78,7 +78,7 @@ func (l *RaftLog) nextEnts() (ents []pb.Entry) { return nil } -// LastIndex return the last index of the lon entries +// LastIndex return the last index of the log entries func (l *RaftLog) LastIndex() uint64 { // Your Code Here (2A). return 0