chore: sync submodule state (parent ref update)
Made-with: Cursor
This commit is contained in:
@@ -4,7 +4,6 @@ import (
|
||||
"context"
|
||||
"database/sql"
|
||||
"encoding/json"
|
||||
"fmt"
|
||||
"net/http"
|
||||
"time"
|
||||
)
|
||||
@@ -41,7 +40,7 @@ func (s *Server) handleGetBlockByNumber(w http.ResponseWriter, r *http.Request,
|
||||
)
|
||||
|
||||
if err != nil {
|
||||
http.Error(w, fmt.Sprintf("Block not found: %v", err), http.StatusNotFound)
|
||||
writeNotFound(w, "Block")
|
||||
return
|
||||
}
|
||||
|
||||
@@ -103,7 +102,7 @@ func (s *Server) handleGetBlockByHash(w http.ResponseWriter, r *http.Request, ha
|
||||
)
|
||||
|
||||
if err != nil {
|
||||
http.Error(w, fmt.Sprintf("Block not found: %v", err), http.StatusNotFound)
|
||||
writeNotFound(w, "Block")
|
||||
return
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user