From 9d0cd3359c7050c09a33ddd992670404cef4c7d4 Mon Sep 17 00:00:00 2001 From: virvar Date: Fri, 17 Jun 2016 10:03:14 +0300 Subject: [PATCH] Uncomment randomBytes --- src/status_im/utils/crypt.cljs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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})))))