diff --git a/src/status_im/utils/crypt.cljs b/src/status_im/utils/crypt.cljs index 0b3f2dd7d0..9179e7dfc0 100644 --- a/src/status_im/utils/crypt.cljs +++ b/src/status_im/utils/crypt.cljs @@ -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})))))