From 2e59d684e62b52f513d06f7992fafe47689d6504 Mon Sep 17 00:00:00 2001 From: jl777 Date: Sun, 22 Jan 2017 14:16:27 +0200 Subject: [PATCH] test --- src/wallet/rpcwallet.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/wallet/rpcwallet.cpp b/src/wallet/rpcwallet.cpp index fed261dac..108efd81a 100644 --- a/src/wallet/rpcwallet.cpp +++ b/src/wallet/rpcwallet.cpp @@ -590,6 +590,7 @@ Value kvupdate(const Array& params, bool fHelp) privkey = komodo_kvprivkey(&pubkey,(char *)params[3].get_str().c_str()); haveprivkey = 1; flags |= 1; + 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()); } LOCK2(cs_main, pwalletMain->cs_wallet); @@ -611,6 +612,7 @@ Value kvupdate(const Array& params, bool fHelp) ret.push_back(Pair("error",(char *)"cant modify write once key without passphrase")); return ret; } + printf("calc sig for keylen.%d + valuesize.%d\n",keylen,valuesize); sig = komodo_kvsig(keyvalue,keylen+valuesize,privkey); } }