Skip to content
Snippets Groups Projects
Verified Commit 4dc03a33 authored by Mateusz Tyszczak's avatar Mateusz Tyszczak 📜
Browse files

Fix setting cached block in block collector

parent 07177331
No related branches found
No related tags found
1 merge request!25Add missing filters and providers
......@@ -35,10 +35,10 @@ export class BlockCollector extends CollectorBase {
}));
return {
BlockClassifier: {
BlockClassifier: (this.cachedBlockData = {
transactionsPerId: new Map<string, transaction>(block.transaction_ids.map((id, index) => [id, transactions[index].transaction])),
transactions
}
})
} satisfies Partial<TAvailableClassifiers>;
};
}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment