Skip to content
This repository has been archived by the owner on Feb 26, 2024. It is now read-only.

Bug fix: only edit state in txLog when we have an initial state #5919

Merged
merged 1 commit into from
Feb 22, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
4 changes: 3 additions & 1 deletion packages/debugger/lib/txlog/sagas/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -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() {
Expand Down