Skip to content

Commit

Permalink
Removed Calling InsertChain from quai_api
Browse files Browse the repository at this point in the history
  • Loading branch information
gameofpointers committed Mar 13, 2023
1 parent 7054949 commit 536d9e1
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion internal/quaiapi/quai_api.go
Original file line number Diff line number Diff line change
Expand Up @@ -616,7 +616,6 @@ func (s *PublicBlockChainQuaiAPI) ReceiveMinedHeader(ctx context.Context, raw js
s.b.EventMux().Post(core.NewMinedBlockEvent{Block: block})
}
log.Info("Retrieved mined block", "number", header.Number(), "location", header.Location())
s.b.InsertBlock(ctx, block)

return nil
}
Expand Down

0 comments on commit 536d9e1

Please sign in to comment.