Browse Source

fix check

activeAddress
Ivan Socolsky 10 years ago
parent
commit
c3a445a8c6
  1. 2
      lib/server.js

2
lib/server.js

@ -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];
}

Loading…
Cancel
Save