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
Pipeline #6509 passed
...@@ -21,7 +21,7 @@ angular.module('cesium.tx.services', ['ngApi', 'cesium.bma.services', ...@@ -21,7 +21,7 @@ angular.module('cesium.tx.services', ['ngApi', 'cesium.bma.services',
if (tx.block_number || allowPendings) { if (tx.block_number || allowPendings) {
var walletIsIssuer = false; var walletIsIssuer = false;
var otherIssuer = tx.issuers.reduce(function(issuer, res) { var otherIssuer = tx.issuers.reduce(function(issuer, res) {
walletIsIssuer = (res === pubkey) ? true : walletIsIssuer; walletIsIssuer = walletIsIssuer || (res === pubkey);
return issuer + ((res !== pubkey) ? ', ' + res : ''); return issuer + ((res !== pubkey) ? ', ' + res : '');
}, ''); }, '');
if (otherIssuer.length > 0) { if (otherIssuer.length > 0) {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment