ts: Add ignore for nested account (#377)
This commit is contained in:
parent
50b000542c
commit
899e9e53d1
|
@ -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",
|
||||
|
|
|
@ -351,6 +351,7 @@ class InstructionFormatter {
|
|||
const newPrefix = prefix ? `${prefix} > ${accName}` : accName;
|
||||
// @ts-ignore
|
||||
return InstructionFormatter.flattenIdlAccounts(
|
||||
// @ts-ignore
|
||||
account.accounts,
|
||||
newPrefix
|
||||
);
|
||||
|
|
Loading…
Reference in New Issue