Member variable 'CKey::fCompressedPubKey' is not assigned a value in 'CKey::operator='
[novacoin.git] / src / key.cpp
index 6239ba5..e50a3bc 100644 (file)
@@ -201,6 +201,7 @@ CKey& CKey::operator=(const CKey& b)
     if (!EC_KEY_copy(pkey, b.pkey))
         throw key_error("CKey::operator=(const CKey&) : EC_KEY_copy failed");
     fSet = b.fSet;
+    fCompressedPubKey = b.fCompressedPubKey;
     return (*this);
 }