ts: Add ignore for nested account (#377)
This commit is contained in:
parent
50b000542c
commit
899e9e53d1
|
@ -1,6 +1,6 @@
|
||||||
{
|
{
|
||||||
"name": "@project-serum/anchor",
|
"name": "@project-serum/anchor",
|
||||||
"version": "0.8.0",
|
"version": "0.8.1-beta.1",
|
||||||
"description": "Anchor client",
|
"description": "Anchor client",
|
||||||
"main": "dist/cjs/index.js",
|
"main": "dist/cjs/index.js",
|
||||||
"module": "dist/esm/index.js",
|
"module": "dist/esm/index.js",
|
||||||
|
|
|
@ -351,6 +351,7 @@ class InstructionFormatter {
|
||||||
const newPrefix = prefix ? `${prefix} > ${accName}` : accName;
|
const newPrefix = prefix ? `${prefix} > ${accName}` : accName;
|
||||||
// @ts-ignore
|
// @ts-ignore
|
||||||
return InstructionFormatter.flattenIdlAccounts(
|
return InstructionFormatter.flattenIdlAccounts(
|
||||||
|
// @ts-ignore
|
||||||
account.accounts,
|
account.accounts,
|
||||||
newPrefix
|
newPrefix
|
||||||
);
|
);
|
||||||
|
|
Loading…
Reference in New Issue