take out debugging

This commit is contained in:
Josh Harvey 2016-02-07 02:49:39 +02:00
parent 5b5fc8b810
commit 30ba92b1dc
2 changed files with 2 additions and 4 deletions

View file

@ -121,7 +121,7 @@ function loadOrConfigPlugin(pluginHandle, pluginType, currency,
pluginHandle = loadPlugin(currentName, pluginConfig);
currentlyUsedPlugins[pluginType] = currentName
logger.debug('plugin(%s) loaded: %s', pluginType, pluginHandle.NAME ||
currentName);
currentName);
}
}
@ -311,8 +311,6 @@ exports.trade = function trade(session, rawTrade, cb) {
currencyCode: rawTrade.currency
};
console.log('****************** DEBUG2 *****************')
console.log(db.addOutgoingPending)
async.parallel([
async.apply(db.addOutgoingPending, session, tx.currencyCode, tx.toAddress),
async.apply(db.recordBill, session, rawTrade)

View file

@ -192,7 +192,7 @@ describe('Plugins', function() {
describe('Send Bitcoins', function() {
before(function() {
plugins.trade('123', {currency: 'USD', satoshis: 1e7, toAddress: '1xxx'}, function() {});
plugins.trade({currency: 'USD', satoshis: 1e7}, db.FINGERPRINT_NEW);
});
it('should send bitcoins successfully', function(done) {