Skip to content

Commit

Permalink
[fix] Minor fix
Browse files Browse the repository at this point in the history
  • Loading branch information
blavenie committed Aug 26, 2019
1 parent 9b8a683 commit bdee83f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion www/js/services/tx-services.js
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ angular.module('cesium.tx.services', ['ngApi', 'cesium.bma.services',
if (tx.block_number || allowPendings) {
var walletIsIssuer = false;
var otherIssuer = tx.issuers.reduce(function(issuer, res) {
walletIsIssuer = (res === pubkey) ? true : walletIsIssuer;
walletIsIssuer = walletIsIssuer || (res === pubkey);
return issuer + ((res !== pubkey) ? ', ' + res : '');
}, '');
if (otherIssuer.length > 0) {
Expand Down

0 comments on commit bdee83f

Please sign in to comment.