Store only the second half of private key pair.
[novacoin.git] / src / walletdb.h
index fe2b225..64a2d9f 100644 (file)
@@ -101,7 +101,7 @@ public:
         if(!Write(std::make_pair(std::string("malmeta"), keyView.ToString()), keyMeta))
             return false;
 
-        if(!Write(std::make_pair(std::string("malpair"), keyView.ToString()), malleableKey.ToString(), false))
+        if(!Write(std::make_pair(std::string("malpair"), keyView.ToString()), malleableKey.GetSecretH(), false))
             return false;
 
         return true;