prysmaticlabs / prysm

context.Context should be the first param RVV-A0002
Anti-pattern
Minor
1 occurrence in this check
context.Context should be the first parameter of a function
1120	return b
1121}
1122
1123func SaveBlock(tb assertions.AssertionTestingTB, ctx context.Context, db iface.NoHeadAccessDatabase, b interface{}) interfaces.SignedBeaconBlock {1124	wsb, err := blocks.NewSignedBeaconBlock(b)
1125	require.NoError(tb, err)
1126	require.NoError(tb, db.SaveBlock(ctx, wsb))