From 3b4652caea931aa66999138c10a78655b5e8a04a Mon Sep 17 00:00:00 2001 From: jl777 Date: Fri, 20 Jan 2017 22:59:07 +0200 Subject: [PATCH] test --- src/wallet/rpcwallet.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/wallet/rpcwallet.cpp b/src/wallet/rpcwallet.cpp index 39fefecd1..70a261bf7 100644 --- a/src/wallet/rpcwallet.cpp +++ b/src/wallet/rpcwallet.cpp @@ -569,8 +569,10 @@ Value kvupdate(const Array& params, bool fHelp) if (!EnsureWalletIsAvailable(fHelp)) return 0; if ( params.size() == 3 ) + { flags = atoi(params[2].get_str().c_str()); - else flags = 0; + printf("flags.%d (%s)\n",flags,params[2].get_str().c_str()); + } else flags = 0; LOCK2(cs_main, pwalletMain->cs_wallet); if ( (keylen= (int32_t)strlen(params[0].get_str().c_str())) > 0 ) {