Skip to content

Commit

Permalink
lint
Browse files Browse the repository at this point in the history
  • Loading branch information
cyberhorsey committed Jul 30, 2024
1 parent a12fb02 commit cf9c977
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/taiko-client/preconfapi/server/api.go
Original file line number Diff line number Diff line change
Expand Up @@ -137,7 +137,7 @@ func (s *PreconfAPIServer) GetTransactionByHash(c echo.Context) error {
hash := c.Param("hash")

// get from badger db
var tx *model.Transaction = &model.Transaction{}
tx := &model.Transaction{}

if err := s.db.View(func(txn *badger.Txn) error {
item, err := txn.Get(common.HexToHash(hash).Bytes())
Expand Down

0 comments on commit cf9c977

Please sign in to comment.