Explorer: Initialise instruction logs for single line system log (#18777)

This commit is contained in:
Sebastian Bor
2021-07-21 17:52:57 +01:00
committed by GitHub
parent 5f968928ec
commit b867fa154e

View File

@ -230,6 +230,13 @@ function useSimulator(message: Message) {
}
depth--;
} else {
if (depth === 0) {
instructionLogs.push({
logs: [],
failed: false,
});
depth++;
}
// system transactions don't start with "Program log:"
instructionLogs[instructionLogs.length - 1].logs.push({
prefix: prefixBuilder(depth),