Correct func prefix in GetData error message.
This commit is contained in:
parent
2665b4358e
commit
72348986c9
1 changed files with 1 additions and 1 deletions
|
@ -28,7 +28,7 @@ func (msg *MsgGetData) AddInvVect(iv *InvVect) error {
|
|||
if len(msg.InvList)+1 > MaxInvPerMsg {
|
||||
str := fmt.Sprintf("too many invvect in message [max %v]",
|
||||
MaxInvPerMsg)
|
||||
return messageError("MsgAddr.AddInvVect", str)
|
||||
return messageError("MsgGetData.AddInvVect", str)
|
||||
}
|
||||
|
||||
msg.InvList = append(msg.InvList, iv)
|
||||
|
|
Loading…
Add table
Reference in a new issue