From 3bd135000243ac52a5c297e2b254d657e04ae34f Mon Sep 17 00:00:00 2001 From: jl777 Date: Sun, 22 Jan 2017 19:49:53 +0200 Subject: [PATCH] test --- src/rpcclient.cpp | 2 +- src/wallet/rpcwallet.cpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/rpcclient.cpp b/src/rpcclient.cpp index 933b550a5..5b89b18c4 100644 --- a/src/rpcclient.cpp +++ b/src/rpcclient.cpp @@ -113,7 +113,7 @@ static const CRPCConvertParam vRPCConvertParams[] = { "notaries", 1 }, { "minerids", 1 }, { "kvsearch", 1 }, - //{ "kvupdate", 4 }, + { "kvupdate", 4 }, }; class CRPCConvertTable diff --git a/src/wallet/rpcwallet.cpp b/src/wallet/rpcwallet.cpp index 838c8a963..9395ab64c 100644 --- a/src/wallet/rpcwallet.cpp +++ b/src/wallet/rpcwallet.cpp @@ -506,7 +506,7 @@ Value kvupdate(const Array& params, bool fHelp) haveprivkey = 0; memset(&sig,0,sizeof(sig)); memset(&privkey,0,sizeof(privkey)); - memset(&refprivkey,0,sizeof(refpubkey)); + memset(&refpubkey,0,sizeof(refpubkey)); memset(&pubkey,0,sizeof(pubkey)); if ( (n= (int32_t)params.size()) >= 3 ) { -- 2.42.0