From 899e9e53d11674f7a10f75dabae4410575e4ae83 Mon Sep 17 00:00:00 2001 From: Armani Ferrante Date: Thu, 10 Jun 2021 21:48:27 -0700 Subject: [PATCH] ts: Add ignore for nested account (#377) --- ts/package.json | 2 +- ts/src/coder/instruction.ts | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/ts/package.json b/ts/package.json index 33f708829..a4510cb13 100644 --- a/ts/package.json +++ b/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", diff --git a/ts/src/coder/instruction.ts b/ts/src/coder/instruction.ts index 39f1bffc5..8540ad3f3 100644 --- a/ts/src/coder/instruction.ts +++ b/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 );