Skip to content

Commit 5a216de

Browse files
authored
RPC/proposer: remove dup vs.deleteAttsInPool (#6911)
1 parent dc0f214 commit 5a216de

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

beacon-chain/rpc/validator/proposer.go

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -165,10 +165,6 @@ func (vs *Server) ProposeBlock(ctx context.Context, blk *ethpb.SignedBeaconBlock
165165
return nil, status.Errorf(codes.Internal, "Could not process beacon block: %v", err)
166166
}
167167

168-
if err := vs.deleteAttsInPool(ctx, blk.Block.Body.Attestations); err != nil {
169-
return nil, status.Errorf(codes.Internal, "Could not delete attestations in pool: %v", err)
170-
}
171-
172168
return &ethpb.ProposeResponse{
173169
BlockRoot: root[:],
174170
}, nil

0 commit comments

Comments
 (0)