From 0f8746dac2442086cc4355a00c80c93178383141 Mon Sep 17 00:00:00 2001 From: Derrick Hammer Date: Tue, 11 Jul 2023 03:43:12 -0400 Subject: [PATCH] fix: fix reference to isValidLightClientHeader --- src/util.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/util.ts b/src/util.ts index f7fc002..97349ff 100644 --- a/src/util.ts +++ b/src/util.ts @@ -80,7 +80,7 @@ export async function optimisticUpdateVerify( return { correct: false, reason: "insufficient signatures" }; } - if (!this.isValidLightClientHeader(chainConfig, header)) { + if (!isValidLightClientHeader(chainConfig, header)) { return { correct: false, reason: "invalid header" }; }