From d0d9d8f6efb63a63a590be4a64f4293c017b1c4a Mon Sep 17 00:00:00 2001
From: thephez <thephez@users.noreply.github.com>
Date: Thu, 22 Aug 2024 10:23:47 -0400
Subject: [PATCH] chore: correct protx revoke params (#114)

* chore: correct protx revoke params

* chore: add the revoke reasons enumerated in core source
---
 docs/api/remote-procedure-calls-evo.md | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/docs/api/remote-procedure-calls-evo.md b/docs/api/remote-procedure-calls-evo.md
index eae475f6..041e13ef 100644
--- a/docs/api/remote-procedure-calls-evo.md
+++ b/docs/api/remote-procedure-calls-evo.md
@@ -1794,13 +1794,13 @@ The `protx revoke` RPC creates and sends a ProUpRevTx to the network.
 
 | Name             | Type         | Presence                | Description                                                               |
 | ---------------- | ------------ | ----------------------- | ------------------------------------------------------------------------- |
-| `operatorPubKey` | string (hex) | Required<br>(exactly 1) | The operator private key belonging to the registered operator public key. |
+| `operatorKey`    | string (hex) | Required<br>(exactly 1) | The operator private key belonging to the registered operator public key. |
 
 *Parameter #3---reason*
 
 | Name     | Type   | Presence                | Description                |
 | -------- | ------ | ----------------------- | -------------------------- |
-| `reason` | number | Required<br>(exactly 1) | The reason for revocation. |
+| `reason` | number | Optional<br>(0 or 1)    | The reason for revocation. This is  informational and does not effect the revocation:<br>`0` - Reason not specified<br>`1` - Termination of service<br>`2` - Compromised keys<br>`3` - Change of keys |
 
 *Parameter #4---fee source address*