take out debugging
This commit is contained in:
parent
5b5fc8b810
commit
30ba92b1dc
2 changed files with 2 additions and 4 deletions
|
|
@ -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)
|
||||
|
|
|
|||
|
|
@ -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) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue