Skip to content

Commit 80f29e9

Browse files
authored
refactor: use a more straightforward return value (#14942)
Signed-off-by: fuyangpengqi <[email protected]>
1 parent 8995d81 commit 80f29e9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

beacon-chain/db/kv/lightclient.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -215,7 +215,7 @@ func (s *Store) LightClientUpdates(ctx context.Context, startPeriod, endPeriod u
215215
if err != nil {
216216
return nil, err
217217
}
218-
return updates, err
218+
return updates, nil
219219
}
220220

221221
func (s *Store) LightClientUpdate(ctx context.Context, period uint64) (interfaces.LightClientUpdate, error) {

0 commit comments

Comments
 (0)