Fixes crash in blocktimefinder.
This commit is contained in:
parent
0ec43a9325
commit
c01f9dbb21
|
@ -20,6 +20,7 @@ namespace NethereumWorkflow.BlockUtils
|
||||||
|
|
||||||
public BlockTimeEntry Get(ulong blockNumber)
|
public BlockTimeEntry Get(ulong blockNumber)
|
||||||
{
|
{
|
||||||
|
bounds.Initialize();
|
||||||
var b = cache.Get(blockNumber);
|
var b = cache.Get(blockNumber);
|
||||||
if (b != null) return b;
|
if (b != null) return b;
|
||||||
return GetBlock(blockNumber);
|
return GetBlock(blockNumber);
|
||||||
|
|
Loading…
Reference in New Issue