We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b2c9e55 commit 5454c56Copy full SHA for 5454c56
eth/fetcher/block_fetcher.go
@@ -686,8 +686,8 @@ func (f *BlockFetcher) loop() {
686
// Mark the body matched, reassemble if still unknown
687
matched = true
688
if f.getBlock(hash) == nil {
689
- body := &types.Body{Transactions: task.transactions[i], Uncles: task.uncles[i]}
690
- block := types.NewBlockWithHeader(announce.header).WithBody(*body)
+ body := types.Body{Transactions: task.transactions[i], Uncles: task.uncles[i]}
+ block := types.NewBlockWithHeader(announce.header).WithBody(body)
691
block.ReceivedAt = task.time
692
blocks = append(blocks, block)
693
} else {
0 commit comments