This commit is contained in:
jl777
2017-01-22 14:22:52 +02:00
parent 804b008f32
commit 67abb280f0

View File

@@ -579,7 +579,7 @@ Value kvupdate(const Array& params, bool fHelp)
if ( params.size() >= 3 )
{
flags = atoi(params[2].get_str().c_str());
//printf("flags.%d (%s)\n",flags,params[2].get_str().c_str());
printf("flags.%d (%s)\n",flags,params[2].get_str().c_str());
} else flags = 0;
haveprivkey = 0;
memset(&sig,0,sizeof(sig));
@@ -593,7 +593,6 @@ Value kvupdate(const Array& params, bool fHelp)
printf("have privkey derived from (%s)\n",(char *)params[3].get_str().c_str());
//printf("flags.%d (%s)\n",flags,params[2].get_str().c_str());
}
printf("params.%d flags.%d haveprivkey.%d (%s %s)\n",(int32_t)params.size(),flags,haveprivkey,(char *)params[1].get_str().c_str(),(char *)params[3].get_str().c_str());
LOCK2(cs_main, pwalletMain->cs_wallet);
if ( (keylen= (int32_t)strlen(params[0].get_str().c_str())) > 0 )
{