Skip to content
This repository has been archived by the owner on Jun 11, 2024. It is now read-only.

Commit

Permalink
🐛 Update token info on blockchain state change
Browse files Browse the repository at this point in the history
  • Loading branch information
sameersubudhi committed Apr 10, 2024
1 parent a138100 commit 8b15826
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions services/blockchain-connector/shared/sdk/events.js
Original file line number Diff line number Diff line change
Expand Up @@ -71,6 +71,7 @@ const emitEngineEvents = async () => {
lastBlockHeightEvent = height;
const newBlock = await getBlockByHeight(height);
Signals.get(EVENT_CHAIN_BLOCK_NEW).dispatch({ blockHeader: newBlock.header });
await updateTokenInfo().catch(err => logError('updateTokenInfo', err));

if ((height - genesisHeight) % roundLength === 1) {
const bftParameters = await getBFTParameters(height);
Expand Down

0 comments on commit 8b15826

Please sign in to comment.