Merge pull request #271 from isocolsky/fix/history

Fix history
This commit is contained in:
Matias Alejo Garcia 2015-07-02 12:10:44 -03:00
commit d3ebf1b2e8
1 changed files with 1 additions and 1 deletions

View File

@ -1356,7 +1356,7 @@ WalletService.prototype._normalizeTxHistory = function(txs) {
var outputs = _.map(tx.vout, function(item) {
var itemAddr;
// If classic multisig, ignore
if (item.scriptPubKey && item.scriptPubKey.addresses.length == 1) {
if (item.scriptPubKey && _.isArray(item.scriptPubKey.addresses) && item.scriptPubKey.addresses.length == 1) {
itemAddr = item.scriptPubKey.addresses[0];
}