|
|
@ -177,7 +177,7 @@ bool CBase58Data::SetString(const char* psz, unsigned int nVersionBytes) |
|
|
|
vchData.resize(vchTemp.size() - nVersionBytes); |
|
|
|
vchData.resize(vchTemp.size() - nVersionBytes); |
|
|
|
if (!vchData.empty()) |
|
|
|
if (!vchData.empty()) |
|
|
|
memcpy(&vchData[0], &vchTemp[nVersionBytes], vchData.size()); |
|
|
|
memcpy(&vchData[0], &vchTemp[nVersionBytes], vchData.size()); |
|
|
|
memory_cleanse(&vchTemp[0], vchData.size()); |
|
|
|
memory_cleanse(&vchTemp[0], vchTemp.size()); |
|
|
|
return true; |
|
|
|
return true; |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|