aboutsummaryrefslogtreecommitdiffstats
path: root/src/bls.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/bls.cpp')
-rw-r--r--src/bls.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/bls.cpp b/src/bls.cpp
index 2afdd33..e5fd300 100644
--- a/src/bls.cpp
+++ b/src/bls.cpp
@@ -35,8 +35,7 @@ static const G2& getQ()
static void mapToG1(G1& P, const Fp& t)
{
- static mcl::bn::MapTo<Fp> mapTo;
- mapTo.calcG1(P, t);
+ BN::param.mapTo.calcG1(P, t);
}
static void HashAndMapToG1(G1& P, const std::string& m)