mirror of
https://github.com/nspcc-dev/neo-go.git
synced 2025-05-03 01:41:48 +00:00
network: provide NullPayload where necessary
This commit is contained in:
parent
0a5049658f
commit
2cb536a6a1
2 changed files with 2 additions and 2 deletions
|
@ -474,7 +474,7 @@ func (s *Server) handleVersionCmd(p Peer, version *payload.Version) error {
|
|||
}
|
||||
}
|
||||
s.lock.RUnlock()
|
||||
return p.SendVersionAck(NewMessage(CMDVerack, nil))
|
||||
return p.SendVersionAck(NewMessage(CMDVerack, payload.NewNullPayload()))
|
||||
}
|
||||
|
||||
// handleBlockCmd processes the received block received from its peer.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue