fix: fix reference to isValidLightClientHeader
This commit is contained in:
parent
7932fbbf12
commit
0f8746dac2
|
@ -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" };
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue