fix: ignore extra space field in parsed accounts
This commit is contained in:
committed by
Justin Starry
parent
c0d6761f63
commit
0c97e39675
@ -658,7 +658,7 @@ const GetParsedTokenAccountsByOwner = jsonRpcResultAndContext(
|
||||
executable: 'boolean',
|
||||
owner: 'string',
|
||||
lamports: 'number',
|
||||
data: struct.object({
|
||||
data: struct.pick({
|
||||
program: 'string',
|
||||
parsed: 'any',
|
||||
}),
|
||||
@ -722,7 +722,7 @@ const ParsedAccountInfoResult = struct.object({
|
||||
lamports: 'number',
|
||||
data: struct.union([
|
||||
'string',
|
||||
struct.object({
|
||||
struct.pick({
|
||||
program: 'string',
|
||||
parsed: 'any',
|
||||
}),
|
||||
|
Reference in New Issue
Block a user