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

Loading…
Cancel
Save