Skip to content

Commit

Permalink
Merge pull request #5 from rarimo/fix/lightweight-optional
Browse files Browse the repository at this point in the history
fix references
  • Loading branch information
mhrynenko authored Apr 8, 2024
2 parents dcbf96d + 6090f97 commit 424bdd3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions internal/service/handlers/transit_state.go
Original file line number Diff line number Diff line change
Expand Up @@ -28,14 +28,14 @@ func TransitState(w http.ResponseWriter, r *http.Request) {
RelayerConfig(r).LockNonce()
defer RelayerConfig(r).UnlockNonce()

err = confGas(r, &txd, &RelayerConfig(r).LightweightStateAddress)
err = confGas(r, &txd, RelayerConfig(r).LightweightStateAddress)
if err != nil {
Log(r).WithError(err).Error("failed to configure gas and gasPrice")
ape.RenderErr(w, problems.InternalError())
return
}

tx, err := sendTx(r, &txd, &RelayerConfig(r).LightweightStateAddress)
tx, err := sendTx(r, &txd, RelayerConfig(r).LightweightStateAddress)
if err != nil {
Log(r).WithError(err).Error("failed to send tx")
ape.RenderErr(w, problems.InternalError())
Expand Down

0 comments on commit 424bdd3

Please sign in to comment.