diff --git a/package.json b/package.json index 6441ad0..c32756d 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@magiceden-oss/runestone-lib", - "version": "1.0.1", + "version": "1.0.2", "description": "", "main": "./dist/index.js", "types": "./dist/index.d.ts", diff --git a/src/indexer/index.ts b/src/indexer/index.ts index 507b783..f18d595 100644 --- a/src/indexer/index.ts +++ b/src/indexer/index.ts @@ -88,6 +88,7 @@ export class RunestoneIndexer { blockhash = (await this._rpc.getblockhash({ height: blockheight })).result; storageBlockHash = await this._storage.getBlockhash(blockheight); } + reorgBlockhashesToIndex.reverse(); // process blocks that are reorgs for (const blockhash of reorgBlockhashesToIndex) {