diff --git a/docs/api.md b/docs/api.md index 15c632f..e0839b3 100644 --- a/docs/api.md +++ b/docs/api.md @@ -146,7 +146,7 @@ If `feetxstatus` is `error`, the client needs to provide a new fee transaction using `/api/payfee`. The VSP will only add a ticket to the voting wallets once its `feetxstatus` is `confirmed`. -- `GET /api/ticketstatus` +- `POST /api/ticketstatus` Request: diff --git a/webapi/ticketstatus.go b/webapi/ticketstatus.go index 9632042..e9afe4d 100644 --- a/webapi/ticketstatus.go +++ b/webapi/ticketstatus.go @@ -7,7 +7,7 @@ import ( "github.com/gin-gonic/gin" ) -// ticketStatus is the handler for "GET /ticketstatus". +// ticketStatus is the handler for "POST /ticketstatus". func ticketStatus(c *gin.Context) { funcName := "ticketStatus"