Skip to content

Commit

Permalink
lint
Browse files Browse the repository at this point in the history
  • Loading branch information
skosito committed May 31, 2024
1 parent 07aa91d commit 96d0617
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions rpc/backend/tx_info.go
Original file line number Diff line number Diff line change
Expand Up @@ -390,9 +390,8 @@ func (b *Backend) GetTxByEthHash(hash common.Hash) (*ethermint.TxResult, *rpctyp
txRes, err := b.indexer.GetByTxHash(hash)
if err != nil {
return nil, nil, err
} else {
return txRes, nil, nil
}
return txRes, nil, nil
}

// fallback to tendermint tx indexer
Expand Down

0 comments on commit 96d0617

Please sign in to comment.