pass correct crypto type to identity

This commit is contained in:
orignal committed 2017-11-09 15:49:27 -05:00
1 parent ab1cd3f5cf
commit a4ce224cd1
2 files changed
+2 -2

No files matched your search

+1 -1
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;