tx.derivationStragegy = wallet.derivationSTrategy

This commit is contained in:
Ivan Socolsky 2015-11-11 12:14:07 -03:00
parent fa58b5b778
commit 446d7ff2e5
1 changed files with 1 additions and 0 deletions

View File

@ -159,6 +159,7 @@ Storage.prototype._completeTxData = function(walletId, txs, cb) {
this.fetchWallet(walletId, function(err, wallet) {
if (err) return cb(err);
_.each(txList, function(tx) {
tx.derivationStrategy = wallet.derivationStrategy || 'BIP45';
tx.creatorName = wallet.getCopayer(tx.creatorId).name;
_.each(tx.actions, function(action) {
action.copayerName = wallet.getCopayer(action.copayerId).name;