innerInstructions also has omitempty
Closed this issue · 0 comments
linuskendall commented
"innerInstructions" : [
{
"instructions" : [
{
"programIdIndex" : 7,
"data" : "111112ERtMhCsUhexYb6gBHHhLLRx9YPwhXKuAo3Pc8VGnh8C6GTeheXQLLZVMfXR9jB6M",
"accounts" : [
0,
6
]
}
]
},
{
"index" : 1,
"instructions" : [
{
"accounts" : [
0,
1
],
"programIdIndex" : 7,
"data" : "111112ERtMhCsUhexYb6gBHHhLLRx9YPwhXKuAo3Pc8VGnh8C6GTeheXQLLZVMfXR9jB6M"
}
]
},
{
"index" : 2,
"instructions" : [
{
"programIdIndex" : 7,
"data" : "111112ERtMhCsUhexYb6gBHHhLLRx9YPwhXKuAo3Pc8VGnh8C6GTeheXQLLZVMfXR9jB6M",
"accounts" : [
0,
5
]
}
]
index: 0 is omitted