git ssb

0+

wanderer🌟 / bls-lib



Commit 0c4c03bbdec8e38f973ed7fdf47600edd942e179

Merge pull request #9 from dfinity/fix_error_in_init

fix an error of randomgenerator at bls.init()
wanderer authored on 4/16/2018, 6:21:55 PM
GitHub committed on 4/16/2018, 6:21:55 PM
Parent: cb3dd62c1388d6303184dad6bb39be120a958012
Parent: 3a012ac866fae31ddc4501d6da94bc17a7eb235d

Files changed

index.jschanged
index.jsView
@@ -1,7 +1,9 @@
11 const nop = require('nop')
22 const Buffer = require('safe-buffer').Buffer
33 const mod = require('./build/bls_lib.js')
4 +const crypto = require('crypto')
5 +crypto.getRandomValues = crypto.randomFillSync
46
57 let init = false
68 let initCb = nop
79

Built with git-ssb-web