From a17e5b0cc0f6f323cf49cad5f228abec1fc18265 Mon Sep 17 00:00:00 2001 From: guibescos <59208140+guibescos@users.noreply.github.com> Date: Wed, 7 Dec 2022 11:33:06 +0800 Subject: [PATCH] Fix typo (#417) --- third_party/pyth/multisig-wh-message-builder/src/index.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/third_party/pyth/multisig-wh-message-builder/src/index.ts b/third_party/pyth/multisig-wh-message-builder/src/index.ts index 96b951e4..40149fd8 100644 --- a/third_party/pyth/multisig-wh-message-builder/src/index.ts +++ b/third_party/pyth/multisig-wh-message-builder/src/index.ts @@ -21,7 +21,7 @@ import bs58 from "bs58"; import { program } from "commander"; import * as fs from "fs"; import { LedgerNodeWallet } from "./wallet"; -import loadash from "lodash"; +import lodash from "lodash"; setDefaultWasm("node"); @@ -652,7 +652,7 @@ function verifyOnChainInstruction( ); } - if (!loadash.isEqual(instruction.keys, onChainInstruction.keys)) { + if (!lodash.isEqual(instruction.keys, onChainInstruction.keys)) { throw new Error( `Instruction accounts mismatch. Expected ${instruction.keys}, found ${onChainInstruction.keys}` );