rm n/a as addressTo possible value

This commit is contained in:
Matias Alejo Garcia 2018-01-24 15:30:23 -03:00
parent 41683bf10a
commit 77f776a6b1
No known key found for this signature in database
GPG Key ID: 02470DB551277AB3
1 changed files with 1 additions and 1 deletions

View File

@ -3056,7 +3056,7 @@ WalletService.prototype.getTxHistory = function(opts, cb) {
var firstExternalOutput = _.find(outputs, {
isMine: false
});
addressTo = firstExternalOutput ? firstExternalOutput.address : 'N/A';
addressTo = firstExternalOutput ? firstExternalOutput.address : null;
};
if (action == 'sent' && inputs.length != (_.filter(inputs,'isMine')).length ) {