ts: Add ignore for nested account (#377)

This commit is contained in:
Armani Ferrante 2021-06-10 21:48:27 -07:00 committed by GitHub
parent 50b000542c
commit 899e9e53d1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 1 deletions

View File

@ -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",

View File

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