Commit 45a595ec authored by Cédric Moreau's avatar Cédric Moreau

[fix] Bug d'affichage

parent bdafdc62
...@@ -22,7 +22,7 @@ export class CrowdfundingService { ...@@ -22,7 +22,7 @@ export class CrowdfundingService {
const montants = [] const montants = []
for (const tx of (a.payments || [])) { for (const tx of (a.payments || [])) {
for(const output of tx.outputs) { for(const output of tx.outputs) {
if (output.match(new RegExp(":SIG\\(" + a.pub + "\\)"))) { if ((output.conditions || output).match(new RegExp(":SIG\\(" + a.pub + "\\)"))) {
const sp = output.split(':') const sp = output.split(':')
const amount = parseInt(sp[0]) const amount = parseInt(sp[0])
const base = parseInt(sp[1]) const base = parseInt(sp[1])
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment