diff options
author | obscuren <geffobscura@gmail.com> | 2015-04-30 04:50:58 +0800 |
---|---|---|
committer | obscuren <geffobscura@gmail.com> | 2015-04-30 04:50:58 +0800 |
commit | 04c209980bdecb848ae6e397e808e62aecaece39 (patch) | |
tree | 8d5924a35a4d2e02503afe6fd63b70ea13b63909 /eth/handler.go | |
parent | 01e3d694a68b55d44d92754db5e84eb2930988ab (diff) | |
download | go-tangerine-04c209980bdecb848ae6e397e808e62aecaece39.tar go-tangerine-04c209980bdecb848ae6e397e808e62aecaece39.tar.gz go-tangerine-04c209980bdecb848ae6e397e808e62aecaece39.tar.bz2 go-tangerine-04c209980bdecb848ae6e397e808e62aecaece39.tar.lz go-tangerine-04c209980bdecb848ae6e397e808e62aecaece39.tar.xz go-tangerine-04c209980bdecb848ae6e397e808e62aecaece39.tar.zst go-tangerine-04c209980bdecb848ae6e397e808e62aecaece39.zip |
eth: rely on p2p to determine block propagation
Diffstat (limited to 'eth/handler.go')
-rw-r--r-- | eth/handler.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/eth/handler.go b/eth/handler.go index f7610e9e3..fecd71632 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 |