rm old changes
This commit is contained in:
parent
210b73d198
commit
598f6f1361
|
@ -56,15 +56,7 @@ ExpressApp.prototype.start = function(opts, cb) {
|
|||
var POST_LIMIT = 1024 * 100 /* Max POST 100 kb */ ;
|
||||
|
||||
this.app.use(bodyParser.json({
|
||||
limit: POST_LIMIT,
|
||||
verify: function(req, res, buf, encoding) {
|
||||
|
||||
// get rawBody
|
||||
req.rawBody = buf.toString();
|
||||
console.log("rawBody", req.rawBody);
|
||||
console.log("headers", req.headers);
|
||||
|
||||
}
|
||||
limit: POST_LIMIT
|
||||
}));
|
||||
|
||||
if (opts.disableLogs) {
|
||||
|
|
|
@ -49,8 +49,7 @@ Storage.prototype._createIndexes = function() {
|
|||
});
|
||||
this.db.collection(collections.TXS).createIndex({
|
||||
walletId: 1,
|
||||
isPending: 1,
|
||||
createdOn: 1
|
||||
createdOn: -1,
|
||||
});
|
||||
this.db.collection(collections.NOTIFICATIONS).createIndex({
|
||||
walletId: 1,
|
||||
|
@ -75,7 +74,6 @@ Storage.prototype._createIndexes = function() {
|
|||
walletId: 1,
|
||||
txid: 1,
|
||||
});
|
||||
|
||||
};
|
||||
|
||||
Storage.prototype.connect = function(opts, cb) {
|
||||
|
|
Loading…
Reference in New Issue