mirror of
https://gitlab.com/pulsechaincom/prysm-pulse.git
synced 2024-12-24 20:37:17 +00:00
RPC/proposer: remove dup vs.deleteAttsInPool (#6911)
This commit is contained in:
parent
dc0f2140b3
commit
5a216de6d2
@ -165,10 +165,6 @@ func (vs *Server) ProposeBlock(ctx context.Context, blk *ethpb.SignedBeaconBlock
|
||||
return nil, status.Errorf(codes.Internal, "Could not process beacon block: %v", err)
|
||||
}
|
||||
|
||||
if err := vs.deleteAttsInPool(ctx, blk.Block.Body.Attestations); err != nil {
|
||||
return nil, status.Errorf(codes.Internal, "Could not delete attestations in pool: %v", err)
|
||||
}
|
||||
|
||||
return ðpb.ProposeResponse{
|
||||
BlockRoot: root[:],
|
||||
}, nil
|
||||
|
Loading…
Reference in New Issue
Block a user