This commit is contained in:
guibescos 2022-12-07 11:33:06 +08:00 committed by GitHub
parent a3199b7d28
commit a17e5b0cc0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions

View File

@ -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}`
);