mirror of
https://github.com/status-im/status-react.git
synced 2025-01-11 11:34:45 +00:00
Uncomment randomBytes
Former-commit-id: 9d0cd3359c7050c09a33ddd992670404cef4c7d4
This commit is contained in:
parent
83d3183aa6
commit
c2f81f99c0
@ -20,7 +20,7 @@
|
||||
(byteArrayToHex (.digest sha-256)))
|
||||
|
||||
(defn gen-random-bytes [length cb]
|
||||
#_(.randomBytes random-bytes length (fn [& [err buf]]
|
||||
(.randomBytes random-bytes length (fn [& [err buf]]
|
||||
(if err
|
||||
(cb {:error err})
|
||||
(cb {:buffer buf})))))
|
||||
|
Loading…
x
Reference in New Issue
Block a user