diff options
author | MITSUNARI Shigeo <herumi@nifty.com> | 2017-11-08 20:51:00 +0800 |
---|---|---|
committer | MITSUNARI Shigeo <herumi@nifty.com> | 2017-11-08 20:51:00 +0800 |
commit | d36093ab29e13e0b35f1462c78c3cf1156395d7c (patch) | |
tree | c3f710401e8b88e6f02b9f60fc6701f8b72b01d8 /docs/demo/bls.js | |
parent | 4298239423fbabae5476ee292b932048f823711d (diff) | |
download | dexon-bls-d36093ab29e13e0b35f1462c78c3cf1156395d7c.tar dexon-bls-d36093ab29e13e0b35f1462c78c3cf1156395d7c.tar.gz dexon-bls-d36093ab29e13e0b35f1462c78c3cf1156395d7c.tar.bz2 dexon-bls-d36093ab29e13e0b35f1462c78c3cf1156395d7c.tar.lz dexon-bls-d36093ab29e13e0b35f1462c78c3cf1156395d7c.tar.xz dexon-bls-d36093ab29e13e0b35f1462c78c3cf1156395d7c.tar.zst dexon-bls-d36093ab29e13e0b35f1462c78c3cf1156395d7c.zip |
[js] fix how to build bls-wasm
Diffstat (limited to 'docs/demo/bls.js')
-rw-r--r-- | docs/demo/bls.js | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/docs/demo/bls.js b/docs/demo/bls.js index 10d7f44..d341f26 100644 --- a/docs/demo/bls.js +++ b/docs/demo/bls.js @@ -321,11 +321,6 @@ capi.blsPublicKeyRecover = wrap_recover(capi._blsPublicKeyRecover, BLS_PUBLICKEY_SIZE, BLS_ID_SIZE) capi.blsSignatureRecover = wrap_recover(capi._blsSignatureRecover, BLS_SIGNATURE_SIZE, BLS_ID_SIZE) - capi.sheInit = function(curveType = MCLBN_CURVE_FP254BNB) { - let r = capi._sheInit(curveType, MCLBN_FP_UNIT_SIZE) - console.log('sheInit ' + r) - if (r) throw('sheInit') - } class Common { constructor(size) { this.a_ = new Uint32Array(size / 4) |