mirror of
https://github.com/OffchainLabs/prysm.git
synced 2026-01-09 23:48:06 -05:00
Code inspect - clean ups (#8445)
This commit is contained in:
@@ -70,8 +70,8 @@ func (v *validator) SubmitAggregateAndProof(ctx context.Context, slot uint64, pu
|
||||
SlotSignature: slotSig,
|
||||
})
|
||||
if err != nil {
|
||||
status, ok := status.FromError(err)
|
||||
if ok && status.Code() == codes.NotFound {
|
||||
s, ok := status.FromError(err)
|
||||
if ok && s.Code() == codes.NotFound {
|
||||
log.WithField("slot", slot).WithError(err).Warn("No attestations to aggregate")
|
||||
} else {
|
||||
log.WithField("slot", slot).WithError(err).Error("Could not submit slot signature to beacon node")
|
||||
|
||||
Reference in New Issue
Block a user