simplify testing
This commit is contained in:
parent
0e0da99741
commit
e349a10a67
|
@ -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) {
|
||||
|
|
|
@ -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) {
|
||||
|
|
Loading…
Reference in New Issue