Browse Source

ts: Add ignore for nested account (#377)

Armani Ferrante 4 years ago
parent
commit
899e9e53d1
2 changed files with 2 additions and 1 deletions
  1. 1 1
      ts/package.json
  2. 1 0
      ts/src/coder/instruction.ts

+ 1 - 1
ts/package.json

@@ -1,6 +1,6 @@
 {
   "name": "@project-serum/anchor",
-  "version": "0.8.0",
+  "version": "0.8.1-beta.1",
   "description": "Anchor client",
   "main": "dist/cjs/index.js",
   "module": "dist/esm/index.js",

+ 1 - 0
ts/src/coder/instruction.ts

@@ -351,6 +351,7 @@ class InstructionFormatter {
           const newPrefix = prefix ? `${prefix} > ${accName}` : accName;
           // @ts-ignore
           return InstructionFormatter.flattenIdlAccounts(
+            // @ts-ignore
             account.accounts,
             newPrefix
           );