Remove test code

This commit is contained in:
yflory
2019-05-27 17:55:28 +02:00
parent 2e96f13d0c
commit 5512d1fab7
3 changed files with 0 additions and 43 deletions

View File

@@ -10,7 +10,6 @@ define([
var TYPES = [
'notifications',
'test'
];
var BLOCKING_TYPES = [
];
@@ -177,13 +176,6 @@ proxy.mailboxes = {
var keys = getMyKeys(ctx);
if (!keys) { return void console.error("missing asymmetric encryption keys"); }
var crypto = Crypto.Mailbox.createEncryptor(keys);
// XXX remove 'test'
if (type === 'test') {
crypto = {
encrypt: function (x) { return x; },
decrypt: function (x) { return x; }
};
}
var cfg = {
network: ctx.store.network,
channel: m.channel,