core: rm extra whitespace

This commit is contained in:
lightclient 2024-12-09 14:43:52 -07:00
parent 6505e50d62
commit 46a6482d19
No known key found for this signature in database
GPG key ID: 75C916AFEE20183E

View file

@ -559,7 +559,6 @@ func (st *stateTransition) validateAuthorization(auth *types.Authorization) (aut
code := st.state.GetCode(authority) code := st.state.GetCode(authority)
if _, ok := types.ParseDelegation(code); len(code) != 0 && !ok { if _, ok := types.ParseDelegation(code); len(code) != 0 && !ok {
return authority, ErrAuthorizationDestinationHasCode return authority, ErrAuthorizationDestinationHasCode
} }
if have := st.state.GetNonce(authority); have != auth.Nonce { if have := st.state.GetNonce(authority); have != auth.Nonce {
return authority, ErrAuthorizationNonceMismatch return authority, ErrAuthorizationNonceMismatch