aboutsummaryrefslogtreecommitdiffstats
path: root/docs/demo/bls-demo.js
diff options
context:
space:
mode:
authorMITSUNARI Shigeo <herumi@nifty.com>2017-10-10 04:59:39 +0800
committerMITSUNARI Shigeo <herumi@nifty.com>2017-10-10 04:59:39 +0800
commitb0328ca6ad728dceb37f3244d1301899fba2ac0b (patch)
tree46a05c502bb167b6c895da041a348aa310447049 /docs/demo/bls-demo.js
parent44b36a63763fc96c6fe5d6d5f10b4ecac24826b0 (diff)
downloaddexon-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.js6
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))
}