Added an index for copayerId in sessions
@ -83,6 +83,9 @@ Storage.prototype._createIndexes = function() {
copayerId: 1,
txid: 1,
});
this.db.collection(collections.SESSIONS).createIndex({
copayerId: 1
};
Storage.prototype.connect = function(opts, cb) {