Skip to content

Commit

Permalink
temp undo commit cd4b595 and c5ca43c
Browse files Browse the repository at this point in the history
  • Loading branch information
dadepo committed Sep 26, 2022
1 parent 253ff23 commit b44db38
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -41,4 +41,5 @@ export async function validateLightClientOptimisticUpdate(
}

chain.lightClientServer.latestForwardedOptimisticSlot = lightClientOptimisticUpdate.attestedHeader.slot;
return Promise.resolve();
}
1 change: 1 addition & 0 deletions packages/beacon-node/src/network/gossip/handlers/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -292,6 +292,7 @@ export function getGossipHandlers(modules: ValidatorFnsModules, options: GossipH

[GossipType.light_client_optimistic_update]: async (lightClientOptimisticUpdate) => {
await validateLightClientOptimisticUpdate(config, chain, lightClientOptimisticUpdate);
return Promise.resolve();
},
};
}
Expand Down

0 comments on commit b44db38

Please sign in to comment.