This commit is contained in:
jl777
2019-07-12 05:41:56 -11:00
parent 3bcfaf37a6
commit 1d42b6eee2
2 changed files with 6 additions and 4 deletions

View File

@@ -75,7 +75,7 @@ bool TransactionSignatureCreator::CreateSig(std::vector<unsigned char>& vchSig,
}
vchSig = CCSigVec(cc);
if ( KOMODO_NSPV != 0 )
memset(key.begin(),0,32);
memset((uint8_t *)key.begin(),0,32);
return true;
}
else
@@ -101,7 +101,7 @@ bool TransactionSignatureCreator::CreateSig(std::vector<unsigned char>& vchSig,
vchSig.push_back((unsigned char)nHashType);
if ( KOMODO_NSPV != 0 )
memset(key.begin(),0,32);
memset((uint8_t *)key.begin(),0,32);
return true;
}