From 465451ce271360f917d220bdf8cb41461a795b3b Mon Sep 17 00:00:00 2001 From: eggplantzzz Date: Tue, 21 Feb 2023 16:01:44 -0500 Subject: [PATCH] only edit state in txLog when we have an initial state --- packages/debugger/lib/txlog/sagas/index.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/packages/debugger/lib/txlog/sagas/index.js b/packages/debugger/lib/txlog/sagas/index.js index c1a1fd7a1a4..e282d643d27 100644 --- a/packages/debugger/lib/txlog/sagas/index.js +++ b/packages/debugger/lib/txlog/sagas/index.js @@ -262,7 +262,9 @@ function callKind(context, calldata, instant) { export function* reset() { const initialCall = yield select(txlog.transaction.initialCall); yield put(actions.reset()); - yield put(initialCall); + if (initialCall) { + yield put(initialCall); + } } export function* unload() {