Fix typo (#417)
This commit is contained in:
parent
a3199b7d28
commit
a17e5b0cc0
|
@ -21,7 +21,7 @@ import bs58 from "bs58";
|
||||||
import { program } from "commander";
|
import { program } from "commander";
|
||||||
import * as fs from "fs";
|
import * as fs from "fs";
|
||||||
import { LedgerNodeWallet } from "./wallet";
|
import { LedgerNodeWallet } from "./wallet";
|
||||||
import loadash from "lodash";
|
import lodash from "lodash";
|
||||||
|
|
||||||
setDefaultWasm("node");
|
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(
|
throw new Error(
|
||||||
`Instruction accounts mismatch. Expected ${instruction.keys}, found ${onChainInstruction.keys}`
|
`Instruction accounts mismatch. Expected ${instruction.keys}, found ${onChainInstruction.keys}`
|
||||||
);
|
);
|
||||||
|
|
Loading…
Reference in New Issue