fix concatenation of call stack

This commit is contained in:
Sergio Chouhy 2025-11-27 10:53:25 -03:00
parent f46d7ee426
commit 409ec19959

View File

@ -168,7 +168,10 @@ impl PublicTransaction {
state_diff.insert(pre.account_id, post.clone());
}
chained_calls.extend(program_output.chained_calls);
for new_call in program_output.chained_calls.into_iter().rev() {
chained_calls.push_front(new_call);
}
chain_calls_counter += 1;
}