From d3664c8d23c1bbfef53816542f47fc211f94c63c Mon Sep 17 00:00:00 2001 From: Derrick Hammer Date: Mon, 24 Jul 2023 11:12:52 -0400 Subject: [PATCH] fix: don't release lock when we have cached optimistic update data, as we never locked it --- src/baseClient.ts | 1 - 1 file changed, 1 deletion(-) diff --git a/src/baseClient.ts b/src/baseClient.ts index 181b416..da8897d 100644 --- a/src/baseClient.ts +++ b/src/baseClient.ts @@ -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); } }