Skip to content

Commit

Permalink
feat: handle rest error
Browse files Browse the repository at this point in the history
  • Loading branch information
bdeneux committed May 4, 2022
1 parent 043d450 commit 34afb2e
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions pkg/server/send.go
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,6 @@ func NewSendRequestHandlerFn(ctx context.Context, faucet *client.Faucet) http.Ha
bech32Addr := vars["address"]

err := faucet.SendTxMsg(ctx, bech32Addr)
if rest.CheckBadRequestError(w, err) {
return
}
rest.CheckBadRequestError(w, err)
}
}

0 comments on commit 34afb2e

Please sign in to comment.