Merge pull request #268 from svost/CloseSocket
[novacoin.git] / src / key.cpp
index e50a3bc..e95fb17 100644 (file)
@@ -194,6 +194,7 @@ CKey::CKey(const CKey& b)
     if (pkey == NULL)
         throw key_error("CKey::CKey(const CKey&) : EC_KEY_dup failed");
     fSet = b.fSet;
+    fCompressedPubKey = b.fCompressedPubKey;
 }
 
 CKey& CKey::operator=(const CKey& b)