From e349a10a67c36228c80e11a955b47ae8361cacfc Mon Sep 17 00:00:00 2001 From: Ivan Socolsky Date: Mon, 15 Jun 2015 09:45:43 -0300 Subject: [PATCH] simplify testing --- lib/server.js | 2 +- test/integration/server.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/server.js b/lib/server.js index bdc2db8..b805aab 100644 --- a/lib/server.js +++ b/lib/server.js @@ -797,7 +797,7 @@ WalletService.prototype.createTx = function(opts, cb) { return cb(new ClientError('Required argument missing')); var feePerKb = opts.feePerKb || 10000; - if (!_.contains([1000, 5000, 10000], feePerKb)) + if (feePerKb > 10000) return cb(new ClientError('Invalid fee per KB value')); self._runLocked(cb, function(cb) { diff --git a/test/integration/server.js b/test/integration/server.js index 005029f..ac54ffa 100644 --- a/test/integration/server.js +++ b/test/integration/server.js @@ -216,7 +216,7 @@ helpers.createAddresses = function(server, wallet, main, change, cb) { var storage, blockchainExplorer; -var useMongo = true; +var useMongo = false; function initStorage(cb) { function getDb(cb) {