fix: don't release lock when we have cached optimistic update data, as we never locked it
This commit is contained in:
parent
d6f327385f
commit
d3664c8d23
|
@ -222,7 +222,6 @@ export default abstract class BaseClient extends EventEmitter {
|
|||
diffInSeconds / this.config.chainConfig.SECONDS_PER_SLOT,
|
||||
);
|
||||
if (currentSlot <= update.attestedHeader.beacon.slot) {
|
||||
this.optimisticMutex.release();
|
||||
return getExecInfo(update);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue