Skip to content

Commit

Permalink
fix: remove status
Browse files Browse the repository at this point in the history
  • Loading branch information
Alok committed Aug 8, 2024
1 parent 5229cba commit 3f863ca
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion p2p/pkg/apiserver/middleware.go
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ func newAccessLogHandler(log *slog.Logger) func(http.Handler) http.Handler {
start := time.Now()
h.ServeHTTP(recorder, req)
log.Info("api access",
"status", recorder.status,
"http_status", recorder.status,
"method", req.Method,
"path", req.URL.Path,
"duration", time.Since(start),
Expand Down
2 changes: 1 addition & 1 deletion x/contracts/txmonitor/txmonitor.go
Original file line number Diff line number Diff line change
Expand Up @@ -246,7 +246,7 @@ func (m *Monitor) Sent(ctx context.Context, tx *types.Transaction) {
}
m.logger.Debug("transaction status",
"txHash", tx.Hash(),
"status", status,
"txStatus", status,
)
}()
}
Expand Down

0 comments on commit 3f863ca

Please sign in to comment.