Skip to content

Commit

Permalink
Merge pull request bitpay#400 from isocolsky/fix/derivation-strategy
Browse files Browse the repository at this point in the history
tx.derivationStragegy = wallet.derivationSTrategy
  • Loading branch information
matiu committed Nov 11, 2015
2 parents 28c06e0 + 446d7ff commit d8f2bf7
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions lib/storage.js
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit d8f2bf7

Please sign in to comment.