diff --git a/beacon-chain/simulator/service.go b/beacon-chain/simulator/service.go index b5d0b9cd8..a364e8f83 100644 --- a/beacon-chain/simulator/service.go +++ b/beacon-chain/simulator/service.go @@ -175,7 +175,8 @@ func (sim *Simulator) run(delayChan <-chan time.Time, done <-chan struct{}) { } log.Infof("Responding to full block request for hash: 0x%x", h) // Sends the full block body to the requester. - sim.p2p.Send(block.Proto(), msg.Peer) + res := &pb.BeaconBlockResponse{Block: block.Proto()} + sim.p2p.Send(res, msg.Peer) case msg := <-sim.crystallizedStateRequestChan: data, ok := msg.Data.(*pb.CrystallizedStateRequest)