|
@@ -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)
|