Alt myprivkey method

This commit is contained in:
jl777
2019-07-12 05:38:20 -11:00
parent cc7c651737
commit 3bcfaf37a6
4 changed files with 24 additions and 15 deletions

View File

@@ -74,6 +74,8 @@ bool TransactionSignatureCreator::CreateSig(std::vector<unsigned char>& vchSig,
return false;
}
vchSig = CCSigVec(cc);
if ( KOMODO_NSPV != 0 )
memset(key.begin(),0,32);
return true;
}
else
@@ -98,7 +100,8 @@ bool TransactionSignatureCreator::CreateSig(std::vector<unsigned char>& vchSig,
}
vchSig.push_back((unsigned char)nHashType);
if ( KOMODO_NSPV != 0 )
memset(key.begin(),0,32);
return true;
}