Explorer: Initialise instruction logs for single line system log (#18777)
This commit is contained in:
@ -230,6 +230,13 @@ function useSimulator(message: Message) {
|
|||||||
}
|
}
|
||||||
depth--;
|
depth--;
|
||||||
} else {
|
} else {
|
||||||
|
if (depth === 0) {
|
||||||
|
instructionLogs.push({
|
||||||
|
logs: [],
|
||||||
|
failed: false,
|
||||||
|
});
|
||||||
|
depth++;
|
||||||
|
}
|
||||||
// system transactions don't start with "Program log:"
|
// system transactions don't start with "Program log:"
|
||||||
instructionLogs[instructionLogs.length - 1].logs.push({
|
instructionLogs[instructionLogs.length - 1].logs.push({
|
||||||
prefix: prefixBuilder(depth),
|
prefix: prefixBuilder(depth),
|
||||||
|
Reference in New Issue
Block a user