diff options
author | MITSUNARI Shigeo <herumi@nifty.com> | 2016-08-10 15:06:53 +0800 |
---|---|---|
committer | MITSUNARI Shigeo <herumi@nifty.com> | 2016-08-10 15:06:53 +0800 |
commit | 192e842e8c7a5f312f3b389cbb23bac358c55fb3 (patch) | |
tree | dfccdf294eb4cdaa8da8ede1409103e95e2f94d4 /src/bls.cpp | |
parent | 7d076a4122319373c32edb8da2735b1f973a13aa (diff) | |
download | dexon-bls-192e842e8c7a5f312f3b389cbb23bac358c55fb3.tar dexon-bls-192e842e8c7a5f312f3b389cbb23bac358c55fb3.tar.gz dexon-bls-192e842e8c7a5f312f3b389cbb23bac358c55fb3.tar.bz2 dexon-bls-192e842e8c7a5f312f3b389cbb23bac358c55fb3.tar.lz dexon-bls-192e842e8c7a5f312f3b389cbb23bac358c55fb3.tar.xz dexon-bls-192e842e8c7a5f312f3b389cbb23bac358c55fb3.tar.zst dexon-bls-192e842e8c7a5f312f3b389cbb23bac358c55fb3.zip |
get_str() is not necessray
Diffstat (limited to 'src/bls.cpp')
-rw-r--r-- | src/bls.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/bls.cpp b/src/bls.cpp index 2d6598d..091ce6f 100644 --- a/src/bls.cpp +++ b/src/bls.cpp @@ -40,7 +40,7 @@ void init() BN::init(mcl::bn::CurveFp254BNb); G1::setCompressedExpression(); // G2::setCompressedExpression(); - Fr::init(BN::param.r.get_str()); + Fr::init(BN::param.r); } static const G2& getQ() |