aboutsummaryrefslogtreecommitdiffstats
path: root/src/bls.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/bls.cpp')
-rw-r--r--src/bls.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/bls.cpp b/src/bls.cpp
index c4a3e69..609e256 100644
--- a/src/bls.cpp
+++ b/src/bls.cpp
@@ -40,7 +40,7 @@ static const std::vector<Fp6>& getQcoeff() { return *g_pQcoeff; }
static void HashAndMapToG1(G1& P, const std::string& m)
{
Fp t;
- t.setMsg(m);
+ t.setHashOf(m);
BN::mapToG1(P, t);
}