Skip to content

Commit

Permalink
fix: remove status (#325)
Browse files Browse the repository at this point in the history
  • Loading branch information
aloknerurkar authored Aug 8, 2024
1 parent fba49d8 commit 489f0c4
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions p2p/pkg/apiserver/middleware.go
Original file line number Diff line number Diff line change
Expand Up @@ -41,8 +41,8 @@ func newAccessLogHandler(log *slog.Logger) func(http.Handler) http.Handler {
start := time.Now()
h.ServeHTTP(recorder, req)
log.Info("api access",
"status", recorder.status,
"method", req.Method,
"http_status", recorder.status,
"http_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 489f0c4

Please sign in to comment.