tristangurtler 5 年之前
父节点
当前提交
3784fbf4d3
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      bgn2/inc/BGN.hpp

+ 1 - 1
bgn2/inc/BGN.hpp

@@ -26,7 +26,7 @@ class BGN
         Scalar decrypt(const Quadripoint& ciphertext) const;
         Scalar decrypt(const Quadripoint& ciphertext) const;
 
 
         const PublicKey& get_public_key() const;
         const PublicKey& get_public_key() const;
-        const PublicKey& get_private_key() const;
+        const PrivateKey& get_private_key() const;
 
 
 	private:
 	private:
 		PublicKey public_key;
 		PublicKey public_key;