From c01f9dbb2164666de7b62e70300baf4673b05584 Mon Sep 17 00:00:00 2001 From: benbierens Date: Thu, 9 May 2024 08:57:19 +0200 Subject: [PATCH] Fixes crash in blocktimefinder. --- Framework/NethereumWorkflow/BlockUtils/BlockTimeFinder.cs | 1 + 1 file changed, 1 insertion(+) diff --git a/Framework/NethereumWorkflow/BlockUtils/BlockTimeFinder.cs b/Framework/NethereumWorkflow/BlockUtils/BlockTimeFinder.cs index b1d84e9..a8e67f4 100644 --- a/Framework/NethereumWorkflow/BlockUtils/BlockTimeFinder.cs +++ b/Framework/NethereumWorkflow/BlockUtils/BlockTimeFinder.cs @@ -20,6 +20,7 @@ namespace NethereumWorkflow.BlockUtils public BlockTimeEntry Get(ulong blockNumber) { + bounds.Initialize(); var b = cache.Get(blockNumber); if (b != null) return b; return GetBlock(blockNumber);