mirror of
https://github.com/talent-plan/tinykv.git
synced 2025-02-28 04:41:19 +08:00
update raft/log.go, fix type (#157)
This commit is contained in:
parent
1df74d600c
commit
4adae7912e
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user