This commit is contained in:
jl777
2019-07-12 06:09:46 -11:00
parent 39fdf6130f
commit 8bc632b4e5
5 changed files with 11 additions and 10 deletions

View File

@@ -452,9 +452,9 @@ bool Myprivkey(uint8_t myprivkey[])
{
vchSecret = DecodeSecret(NSPV_wifstr);
memcpy(myprivkey,vchSecret.begin(),32);
for (i=0; i<32; i++)
fprintf(stderr,"%02x",myprivkey[i]);
fprintf(stderr," myprivkey %s\n",NSPV_wifstr);
//for (i=0; i<32; i++)
// fprintf(stderr,"%02x",myprivkey[i]);
//fprintf(stderr," myprivkey %s\n",NSPV_wifstr);
memset((uint8_t *)vchSecret.begin(),0,32);
return true;
}