From ab2f0700d84276ea4a3fa33c29a77bcbe67debdf Mon Sep 17 00:00:00 2001 From: Felix Lange Date: Mon, 2 Dec 2024 12:17:03 +0100 Subject: [PATCH] core: fix account reference --- core/state_transition.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/state_transition.go b/core/state_transition.go index de30771f83..e9231a2c00 100644 --- a/core/state_transition.go +++ b/core/state_transition.go @@ -463,7 +463,7 @@ func (st *stateTransition) execute() (*ExecutionResult, error) { if !contractCreation { // Increment the nonce for the next transaction - st.state.SetNonce(msg.From, st.state.GetNonce(sender.Address())+1) + st.state.SetNonce(msg.From, st.state.GetNonce(msg.From)+1) } // Check authorizations list validity.