aboutsummaryrefslogtreecommitdiffstats
path: root/eth/protocol.go
diff options
context:
space:
mode:
Diffstat (limited to 'eth/protocol.go')
-rw-r--r--eth/protocol.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/eth/protocol.go b/eth/protocol.go
index 3b6f95d44..963d41794 100644
--- a/eth/protocol.go
+++ b/eth/protocol.go
@@ -172,7 +172,7 @@ func (self *ethProtocol) handle() error {
}
block := self.chainManager.GetBlock(hash)
if block != nil {
- blocks = append(blocks, block.Value().Raw())
+ blocks = append(blocks, block.RlpData())
}
}
return self.rw.EncodeMsg(BlocksMsg, blocks...)