diff options
Diffstat (limited to 'sample/bls_sig.cpp')
-rw-r--r-- | sample/bls_sig.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sample/bls_sig.cpp b/sample/bls_sig.cpp index f054d9c..8df6b77 100644 --- a/sample/bls_sig.cpp +++ b/sample/bls_sig.cpp @@ -22,7 +22,7 @@ using namespace mcl::bn256; void Hash(G1& P, const std::string& m) { Fp t; - t.setMsg(m); + t.setHashOf(m); BN::mapToG1(P, t); } |