Correct func prefix in GetData error message.

This commit is contained in:
Dave Collins 2013-05-10 13:37:55 -05:00
parent 2665b4358e
commit 72348986c9

View file

@ -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)