Merge pull request #761 from matiu/bug/n-a-to-address
rm n/a as addressTo possible value
This commit is contained in:
commit
1c271cfff3
|
@ -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 ) {
|
||||
|
|
Loading…
Reference in New Issue