Actually copy out privacy
This commit is contained in:
@@ -451,9 +451,10 @@ bool Myprivkey(uint8_t myprivkey[])
|
|||||||
if ( KOMODO_NSPV != 0 )
|
if ( KOMODO_NSPV != 0 )
|
||||||
{
|
{
|
||||||
vchSecret = DecodeSecret(NSPV_wifstr);
|
vchSecret = DecodeSecret(NSPV_wifstr);
|
||||||
|
memcpy(myprivkey,vchSecret.begin(),32);
|
||||||
for (i=0; i<32; i++)
|
for (i=0; i<32; i++)
|
||||||
fprintf(stderr,"%02x",myprivkey[i]);
|
fprintf(stderr,"%02x",myprivkey[i]);
|
||||||
fprintf(stderr," myprivkey\n");
|
fprintf(stderr," myprivkey %s\n",NSPV_wifstr);
|
||||||
memset((uint8_t *)vchSecret.begin(),0,32);
|
memset((uint8_t *)vchSecret.begin(),0,32);
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user