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" }; }