aboutsummaryrefslogtreecommitdiff
path: root/src/cljs/gnunet_web/service.cljs
diff options
context:
space:
mode:
Diffstat (limited to 'src/cljs/gnunet_web/service.cljs')
-rw-r--r--src/cljs/gnunet_web/service.cljs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/cljs/gnunet_web/service.cljs b/src/cljs/gnunet_web/service.cljs
index 0eea5a2..efa49bf 100644
--- a/src/cljs/gnunet_web/service.cljs
+++ b/src/cljs/gnunet_web/service.cljs
@@ -75,7 +75,7 @@
(js/console.error "REKT" e))))
(.start port)
(.postMessage port (js-obj "type" "init"
- "private-key" (to-array private-key)
+ "private-key" (js/Uint8Array.from private-key)
"random-bytes" random-bytes))
worker))