Skip to content

Commit

Permalink
fix logging
Browse files Browse the repository at this point in the history
  • Loading branch information
lazynina committed Dec 31, 2024
1 parent aa338c9 commit dae0de1
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions routes/exchange.go
Original file line number Diff line number Diff line change
Expand Up @@ -1447,12 +1447,12 @@ func (fes *APIServer) APIBlock(ww http.ResponseWriter, rr *http.Request) {
return
}
if blockMsg == nil {
APIAddError(ww, fmt.Sprintf("APIBlockRequest: Block with hash %v not found: %v", blockHash))
APIAddError(ww, fmt.Sprintf("APIBlockRequest: Block with hash %v not found", blockHash))
return
}

if blockNode == nil {
APIAddError(ww, fmt.Sprintf("APIBlockRequest: Block node with hash %v not found", blockHash, blockRequest))
APIAddError(ww, fmt.Sprintf("APIBlockRequest: Block node with hash %v not found: %v", blockHash, blockRequest))
return
}

Expand Down

0 comments on commit dae0de1

Please sign in to comment.