We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0ce2070 commit b5e757cCopy full SHA for b5e757c
internal/api/api.go
@@ -199,7 +199,7 @@ func handleHasTx(c *gin.Context) {
199
hasTx, err := oConn.LocalTxMonitor().Client.HasTx(cborData)
200
if err != nil {
201
logger.Errorf("failure getting transaction: %s", err)
202
- c.JSON(400, fmt.Sprintf("failure getting transaction: %s", err))
+ c.JSON(500, fmt.Sprintf("failure getting transaction: %s", err))
203
}
204
if !hasTx {
205
c.JSON(404, "transaction not found in mempool")
0 commit comments