network: fix P2PNotaryRequest payload broadcaster
This commit is contained in:
parent
5c2ea2d5bb
commit
5d6fdda664
1 changed files with 1 additions and 1 deletions
|
@ -885,7 +885,7 @@ func verifyNotaryRequest(bc blockchainer.Blockchainer, _ *transaction.Transactio
|
|||
}
|
||||
|
||||
func (s *Server) broadcastP2PNotaryRequestPayload(_ *transaction.Transaction, data interface{}) {
|
||||
r := data.(payload.P2PNotaryRequest) // we can guarantee that cast is successful
|
||||
r := data.(*payload.P2PNotaryRequest) // we can guarantee that cast is successful
|
||||
msg := NewMessage(CMDInv, payload.NewInventory(payload.P2PNotaryRequestType, []util.Uint256{r.FallbackTransaction.Hash()}))
|
||||
s.broadcastMessage(msg)
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue