pokt-network / pocket-core

Official implementation of the Pocket Network Protocol
http://www.pokt.network
MIT License
211 stars 103 forks source link

Stop RPC does not return success code. #1473

Closed jorgecuesta closed 1 year ago

jorgecuesta commented 2 years ago

Describe the bug /v1/private/stop endpoint does not return a response code.

https://github.com/pokt-network/pocket-core/blob/staging/app/cmd/rpc/client.go#L135

To Reproduce Steps to reproduce the behavior:

  1. Start a Node
  2. Call /v1/private/stop with authtoken
  3. Never get the result code

Expected behavior Return an error if someone otherwise has an empty body with a 200 code.