mirror of
https://github.com/status-im/status-mobile.git
synced 2025-01-14 10:46:21 +00:00
Uncomment randomBytes
This commit is contained in:
parent
5b15f46079
commit
9d0cd3359c
@ -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