Skip to content

Commit

Permalink
Minor refactor (#15052)
Browse files Browse the repository at this point in the history
  • Loading branch information
kidambisrinivas authored Nov 1, 2024
1 parent 378b68a commit 6956ecc
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 90 deletions.
3 changes: 2 additions & 1 deletion core/capabilities/triggers/logevent/trigger.go
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ package logevent

import (
"context"
"encoding/hex"
"encoding/json"
"fmt"
"strconv"
Expand Down Expand Up @@ -198,7 +199,7 @@ func createTriggerResponse(log types.Sequence, version string) capabilities.Trig
Cursor: log.Cursor,
Data: dataAsMap,
Head: logeventcap.Head{
Hash: fmt.Sprintf("0x%x", log.Hash),
Hash: "0x" + hex.EncodeToString(log.Hash),
Height: log.Height,
Timestamp: log.Timestamp,
},
Expand Down
89 changes: 0 additions & 89 deletions core/scripts/gateway/web_api_trigger/test_server/test_server.go

This file was deleted.

0 comments on commit 6956ecc

Please sign in to comment.