From 939cd4b6d3538138f64d0c1a0a10cca33d248f24 Mon Sep 17 00:00:00 2001 From: jl777 Date: Fri, 27 Jul 2018 08:08:29 -1100 Subject: [PATCH] Test --- src/cc/CCutils.cpp | 2 +- src/wallet/rpcwallet.cpp | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/src/cc/CCutils.cpp b/src/cc/CCutils.cpp index af92b69a3..ceddd40ae 100644 --- a/src/cc/CCutils.cpp +++ b/src/cc/CCutils.cpp @@ -228,7 +228,7 @@ bool Myprivkey(uint8_t myprivkey[]) if ( pwalletMain->GetKey(keyID,vchSecret) != 0 ) { memcpy(myprivkey,vchSecret.begin(),32); - if ( 0 ) + if ( 1 ) { for (i=0; i<32; i++) fprintf(stderr,"0x%02x, ",myprivkey[i]); diff --git a/src/wallet/rpcwallet.cpp b/src/wallet/rpcwallet.cpp index fee15e0f9..c1fee75f6 100644 --- a/src/wallet/rpcwallet.cpp +++ b/src/wallet/rpcwallet.cpp @@ -4863,6 +4863,8 @@ UniValue CCaddress(struct CCcontract_info *cp,char *name,std::vector