-
Notifications
You must be signed in to change notification settings - Fork 5
Open
Description
The addition of a txidChanged check has not prevented infinite looping of updateMintingUtxos in practice.
const noStateUpdate = nftsMinted == oldAmountMinted && !txidChanged;
// If the Chaingraph instance has not seen the new tx, wait and re-fetch.
if (noStateUpdate && nftsMinted != 0) {
setTimeout(updateMintingUtxos, 500);
}The underlying issue is probably related to using two different indexers to get blockchain state (#1) as checking whether the txidChanged should be enough to prevent infinite looping of updateMintingUtxos , need to investigate the issue further.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels