Skip to content
Snippets Groups Projects
Commit bdee83f2 authored by Benoit Lavenier's avatar Benoit Lavenier
Browse files

[fix] Minor fix

parent 9b8a6836
No related branches found
No related tags found
No related merge requests found
......@@ -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) {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment