Browse Source

temporary comment encoder while fixing indexes

Kieran Gibb 2 years ago
parent
commit
524c9e17c0
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

@@ -33,10 +33,11 @@ class Group extends Replicator {
33 33
     assert(crypto.isKey(encryptionKey), `invalid: ${ENC_KEY}`)
34 34
     saveKey(this.path, ENC_KEY, encryptionKey)
35 35
 
36
+    // TODO: temporary
36 37
     this._initFeeds({
37
-      valueEncoding: crypto.encoder(encryptionKey, Object.assign({
38
-        valueEncoding: this._opts.valueEncoding || 'utf8'
39
-      }, this._opts))
38
+      // valueEncoding: crypto.encoder(encryptionKey, Object.assign({
39
+      //   valueEncoding: this._opts.valueEncoding || 'utf8'
40
+      // }, this._opts))
40 41
     })
41 42
 
42 43
     var groupOpts = this.config.groups.get(this.address)