Merge pull request #400 from isocolsky/fix/derivation-strategy
tx.derivationStragegy = wallet.derivationSTrategy
This commit is contained in:
commit
d8f2bf7684
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue