fix: fix reference to isValidLightClientHeader

This commit is contained in:
Derrick Hammer 2023-07-11 03:43:12 -04:00
parent 7932fbbf12
commit 0f8746dac2
Signed by: pcfreak30
GPG Key ID: C997C339BE476FF2
1 changed files with 1 additions and 1 deletions

View File

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