Browse Source

add log

activeAddress
Matias Alejo Garcia 9 years ago
parent
commit
95e41050bd
  1. 5
      lib/model/txproposal.js

5
lib/model/txproposal.js

@ -3,6 +3,10 @@
var _ = require('lodash'); var _ = require('lodash');
var $ = require('preconditions').singleton(); var $ = require('preconditions').singleton();
var Uuid = require('uuid'); var Uuid = require('uuid');
var log = require('npmlog');
log.debug = log.verbose;
log.disableColor();
var WalletUtils = require('bitcore-wallet-utils'); var WalletUtils = require('bitcore-wallet-utils');
var Bitcore = WalletUtils.Bitcore; var Bitcore = WalletUtils.Bitcore;
var Address = Bitcore.Address; var Address = Bitcore.Address;
@ -310,6 +314,7 @@ TxProposal.prototype.sign = function(copayerId, signatures, xpub) {
return true; return true;
} catch (e) { } catch (e) {
log.debug(e);
return false; return false;
} }
}; };

Loading…
Cancel
Save