mirror of
https://github.com/kaspanet/kaspad.git
synced 2025-06-05 21:56:50 +00:00
Correct func prefix in GetData error message.
This commit is contained in:
parent
2665b4358e
commit
72348986c9
@ -28,7 +28,7 @@ func (msg *MsgGetData) AddInvVect(iv *InvVect) error {
|
|||||||
if len(msg.InvList)+1 > MaxInvPerMsg {
|
if len(msg.InvList)+1 > MaxInvPerMsg {
|
||||||
str := fmt.Sprintf("too many invvect in message [max %v]",
|
str := fmt.Sprintf("too many invvect in message [max %v]",
|
||||||
MaxInvPerMsg)
|
MaxInvPerMsg)
|
||||||
return messageError("MsgAddr.AddInvVect", str)
|
return messageError("MsgGetData.AddInvVect", str)
|
||||||
}
|
}
|
||||||
|
|
||||||
msg.InvList = append(msg.InvList, iv)
|
msg.InvList = append(msg.InvList, iv)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user