pass correct crypto type to identity

This commit is contained in:
orignal 2017-11-09 15:49:27 -05:00
parent ab1cd3f5cf
commit a4ce224cd1
2 changed files with 2 additions and 2 deletions

View file

@ -657,7 +657,7 @@ namespace data
uint8_t publicKey[256];
GenerateCryptoKeyPair (cryptoType, keys.m_PrivateKey, publicKey);
// identity
keys.m_Public = std::make_shared<IdentityEx> (publicKey, signingPublicKey, type);
keys.m_Public = std::make_shared<IdentityEx> (publicKey, signingPublicKey, type, cryptoType);
keys.CreateSigner ();
return keys;