Browse Source

comment out crypto...

Kieran Gibb 2 years ago
parent
commit
856f8f45e5
No known key found for this signature in database
1 changed files with 4 additions and 3 deletions
  1. 4
    3
      index.js

+ 4
- 3
index.js View File

@@ -28,10 +28,11 @@ class Admin extends Replicator {
28 28
     assert(crypto.isKey(encryptionKey), `invalid: ${ENC_KEY}`)
29 29
     saveKey(this.path, ENC_KEY, encryptionKey)
30 30
 
31
+    // TODO: temporary
31 32
     this._initFeeds({
32
-      valueEncoding: crypto.encoder(encryptionKey, Object.assign({
33
-        valueEncoding: this._opts.valueEncoding || 'utf8'
34
-      }, this._opts))
33
+      // valueEncoding: crypto.encoder(encryptionKey, Object.assign({
34
+      //   valueEncoding: this._opts.valueEncoding || 'utf8'
35
+      // }, this._opts))
35 36
     })
36 37
 
37 38
     var _opts = this.config.devices.get(this.address)