From 4ce34585863eec94a19cb71700370cc69c49d386 Mon Sep 17 00:00:00 2001 From: jwasinger Date: Mon, 27 Apr 2026 11:26:33 +0200 Subject: [PATCH] Apply suggestion from @jwasinger --- core/state/journal.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/core/state/journal.go b/core/state/journal.go index 4338abde29..27da97702c 100644 --- a/core/state/journal.go +++ b/core/state/journal.go @@ -78,8 +78,8 @@ func (s *journalMutationState) add(kind journalMutationKind) { // remove drops one occurrence of the given mutation kind. It returns two // booleans: kindEmpty is true when no entries of that kind remain for the // account, and stateEmpty is true when no entries of any kind remain. -func (s *journalMutationState) remove(kind journalMutationKind) (bool, bool) { - kindEmpty := s.counts.remove(kind) +func (s *journalMutationState) remove(kind journalMutationKind) (kindEmpty bool, stateEmpty bool) { + kindEmpty = s.counts.remove(kind) return kindEmpty, s.counts == (journalMutationCounts{}) }