eth: formatted error nit (#25499)

This commit is contained in:
aaronbuchwald 2022-08-09 04:23:41 -04:00 committed by GitHub
parent e4b3bd6f26
commit 759d795c56
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -586,5 +586,5 @@ func (api *DebugAPI) GetAccessibleState(from, to rpc.BlockNumber) (uint64, error
return uint64(i), nil
}
}
return 0, fmt.Errorf("no state found")
return 0, errors.New("no state found")
}