File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -616,7 +616,7 @@ func (st *stateTransition) applyAuthorization(auth *types.SetCodeAuthorization)
616616 st .state .AddRefund (params .CallNewAccountGas - params .TxAuthTupleGas )
617617 }
618618
619- prevDelegation , isDelegated := types .ParseDelegation (st .state .GetCode (authority ))
619+ prevAuthority , isDelegated := types .ParseDelegation (st .state .GetCode (authority ))
620620
621621 // Update nonce and account code.
622622 st .state .SetNonce (authority , auth .Nonce + 1 , tracing .NonceChangeAuthorization )
@@ -629,7 +629,7 @@ func (st *stateTransition) applyAuthorization(auth *types.SetCodeAuthorization)
629629 }
630630
631631 // install delegation to auth.Address if the delegation changed
632- if ! isDelegated || auth .Address != prevDelegation {
632+ if ! isDelegated || auth .Address != prevAuthority {
633633 st .state .SetCode (authority , types .AddressToDelegation (auth .Address ), tracing .CodeChangeAuthorization )
634634 }
635635
You can’t perform that action at this time.
0 commit comments