test
This commit is contained in:
@@ -579,7 +579,7 @@ Value kvupdate(const Array& params, bool fHelp)
|
|||||||
if ( params.size() >= 3 )
|
if ( params.size() >= 3 )
|
||||||
{
|
{
|
||||||
flags = atoi(params[2].get_str().c_str());
|
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;
|
} else flags = 0;
|
||||||
haveprivkey = 0;
|
haveprivkey = 0;
|
||||||
memset(&sig,0,sizeof(sig));
|
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("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("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);
|
LOCK2(cs_main, pwalletMain->cs_wallet);
|
||||||
if ( (keylen= (int32_t)strlen(params[0].get_str().c_str())) > 0 )
|
if ( (keylen= (int32_t)strlen(params[0].get_str().c_str())) > 0 )
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user