diff options
author | MITSUNARI Shigeo <herumi@nifty.com> | 2017-10-10 04:59:39 +0800 |
---|---|---|
committer | MITSUNARI Shigeo <herumi@nifty.com> | 2017-10-10 04:59:39 +0800 |
commit | b0328ca6ad728dceb37f3244d1301899fba2ac0b (patch) | |
tree | 46a05c502bb167b6c895da041a348aa310447049 /docs/demo/bls-demo.js | |
parent | 44b36a63763fc96c6fe5d6d5f10b4ecac24826b0 (diff) | |
download | dexon-bls-b0328ca6ad728dceb37f3244d1301899fba2ac0b.tar dexon-bls-b0328ca6ad728dceb37f3244d1301899fba2ac0b.tar.gz dexon-bls-b0328ca6ad728dceb37f3244d1301899fba2ac0b.tar.bz2 dexon-bls-b0328ca6ad728dceb37f3244d1301899fba2ac0b.tar.lz dexon-bls-b0328ca6ad728dceb37f3244d1301899fba2ac0b.tar.xz dexon-bls-b0328ca6ad728dceb37f3244d1301899fba2ac0b.tar.zst dexon-bls-b0328ca6ad728dceb37f3244d1301899fba2ac0b.zip |
[js] change BlsId.setStr/getStr
Diffstat (limited to 'docs/demo/bls-demo.js')
-rw-r--r-- | docs/demo/bls-demo.js | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/docs/demo/bls-demo.js b/docs/demo/bls-demo.js index a00228d..c748fde 100644 --- a/docs/demo/bls-demo.js +++ b/docs/demo/bls-demo.js @@ -356,7 +356,7 @@ function onClickTestMisc() let idDec = getValue('idDec') console.log('idDec=' + idDec) var id = new BlsId() - id.setDecStr(idDec) - setText('idHex', id.getHexStr()) - setText('idDec2', id.getDecStr()) + id.setStr(idDec) + setText('idDec2', id.getStr()) + setText('idHex', id.getStr(16)) } |