From 6f3db929c641b64c6810f720c720a9c1e408ba83 Mon Sep 17 00:00:00 2001 From: Alrighttt Date: Mon, 25 Jun 2018 14:42:07 -0400 Subject: [PATCH] fix KV help --- src/rpcblockchain.cpp | 2 +- src/wallet/rpcwallet.cpp | 12 ++++++------ 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/src/rpcblockchain.cpp b/src/rpcblockchain.cpp index 8e13fb666..cfb89815b 100644 --- a/src/rpcblockchain.cpp +++ b/src/rpcblockchain.cpp @@ -778,7 +778,7 @@ UniValue kvsearch(const UniValue& params, bool fHelp) " \"currentheight\": xxxxx, (numeric) current height of the chain\n" " \"key\": \"xxxxx\", (string) key\n" " \"keylen\": xxxxx, (string) length of the key \n" - " \"owner\": \"xxxx\" (string) hex string representing the owner of the key \n" + " \"owner\": \"xxxxx\" (string) hex string representing the owner of the key \n" " \"height\": xxxxx, (numeric) height the key was stored at\n" " \"expiration\": xxxxx, (numeric) height the key will expire\n" " \"flags\": x (numeric) 1 if the key was created with a password; 0 otherwise.\n" diff --git a/src/wallet/rpcwallet.cpp b/src/wallet/rpcwallet.cpp index c8b350b73..bbbc9d897 100644 --- a/src/wallet/rpcwallet.cpp +++ b/src/wallet/rpcwallet.cpp @@ -521,14 +521,14 @@ UniValue kvupdate(const UniValue& params, bool fHelp) "{\n" " \"coin\": \"xxxxx\", (string) chain the key is stored on\n" " \"height\": xxxxx, (numeric) height the key was stored at\n" - " \"expiration\": \"xxxxx\", (numeric) height the key will expire\n" - " \"flags\": xxxxx, (string) amount of days the key will be stored \n" - " \"key\": xxxxx, (numeric) stored key\n" + " \"expiration\": xxxxx, (numeric) height the key will expire\n" + " \"flags\": x, (string) amount of days the key will be stored \n" + " \"key\": \"xxxxx\", (numeric) stored key\n" " \"keylen\": xxxxx, (numeric) length of the key\n" - " \"value\": x (numeric) stored value\n" - " \"valuesize\": \"xxxxx\", (string) length of the stored value\n" + " \"value\": \"xxxxx\" (numeric) stored value\n" + " \"valuesize\": xxxxx, (string) length of the stored value\n" " \"fee\": xxxxx (string) transaction fee paid to store the key\n" - " \"txid\": xxxxx (string) transaction id\n" + " \"txid\": \"xxxxx\" (string) transaction id\n" "}\n" "\nExamples:\n" + HelpExampleCli("kvupdate", "examplekey \"examplevalue\" 2 examplepassphrase")