take out debugging
This commit is contained in:
parent
5b5fc8b810
commit
30ba92b1dc
2 changed files with 2 additions and 4 deletions
|
|
@ -311,8 +311,6 @@ exports.trade = function trade(session, rawTrade, cb) {
|
||||||
currencyCode: rawTrade.currency
|
currencyCode: rawTrade.currency
|
||||||
};
|
};
|
||||||
|
|
||||||
console.log('****************** DEBUG2 *****************')
|
|
||||||
console.log(db.addOutgoingPending)
|
|
||||||
async.parallel([
|
async.parallel([
|
||||||
async.apply(db.addOutgoingPending, session, tx.currencyCode, tx.toAddress),
|
async.apply(db.addOutgoingPending, session, tx.currencyCode, tx.toAddress),
|
||||||
async.apply(db.recordBill, session, rawTrade)
|
async.apply(db.recordBill, session, rawTrade)
|
||||||
|
|
|
||||||
|
|
@ -192,7 +192,7 @@ describe('Plugins', function() {
|
||||||
describe('Send Bitcoins', function() {
|
describe('Send Bitcoins', function() {
|
||||||
|
|
||||||
before(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) {
|
it('should send bitcoins successfully', function(done) {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue