From 446d7ff2e58e1a8381c582c3b35c982526b14f70 Mon Sep 17 00:00:00 2001 From: Ivan Socolsky Date: Wed, 11 Nov 2015 12:14:07 -0300 Subject: [PATCH] tx.derivationStragegy = wallet.derivationSTrategy --- lib/storage.js | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/storage.js b/lib/storage.js index ebbdf14..d0fb4af 100644 --- a/lib/storage.js +++ b/lib/storage.js @@ -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;