chore: enhance comment and more readable (#13792)

This commit is contained in:
Afanti 2024-03-27 22:43:55 +08:00 committed by GitHub
parent fad118cb04
commit c1d75c295a
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -23,7 +23,7 @@ import (
"go.opencensus.io/trace" "go.opencensus.io/trace"
) )
// CreateWallet via an API request, allowing a user to save a new // CreateWallet via an API request, allowing a user to save a new wallet.
func (s *Server) CreateWallet(w http.ResponseWriter, r *http.Request) { func (s *Server) CreateWallet(w http.ResponseWriter, r *http.Request) {
ctx, span := trace.StartSpan(r.Context(), "validator.web.CreateWallet") ctx, span := trace.StartSpan(r.Context(), "validator.web.CreateWallet")
defer span.End() defer span.End()