From 04c209980bdecb848ae6e397e808e62aecaece39 Mon Sep 17 00:00:00 2001 From: obscuren Date: Wed, 29 Apr 2015 22:50:58 +0200 Subject: [PATCH] eth: rely on p2p to determine block propagation --- eth/handler.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/eth/handler.go b/eth/handler.go index f7610e9e3c..fecd71632b 100644 --- a/eth/handler.go +++ b/eth/handler.go @@ -346,7 +346,7 @@ func (self *ProtocolManager) handleMsg(p *peer) error { if err := request.Block.ValidateFields(); err != nil { return errResp(ErrDecode, "block validation %v: %v", msg, err) } - request.Block.ReceivedAt = time.Now() + request.Block.ReceivedAt = msg.ReceivedAt hash := request.Block.Hash() // Add the block hash as a known hash to the peer. This will later be used to determine