Skip to content

Commit

Permalink
fix typo
Browse files Browse the repository at this point in the history
  • Loading branch information
lazynina committed Dec 10, 2024
1 parent 091ad57 commit 9ed19df
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/server.go
Original file line number Diff line number Diff line change
Expand Up @@ -774,7 +774,7 @@ func (srv *Server) _handleGetHeaders(pp *Peer, msg *MsgDeSoGetHeaders) {
maxHeadersPerMsg = MaxHeadersPerMsgPos
}

headers, err := srv.GetHeadersForLocatorAndStopHash2(msg.BlockLocator, msg.StopHash, maxHeadersPerMsg)
headers, err := srv.GetHeadersForLocatorAndStopHash(msg.BlockLocator, msg.StopHash, maxHeadersPerMsg)
if err != nil {
glog.Errorf("Server._handleGetHeadersMessage: Error getting headers: %v", err)
}
Expand Down

0 comments on commit 9ed19df

Please sign in to comment.