fix bug that crashes block page with unparsed addresses (because of trying to split scriptSig.asm that is not present)

This commit is contained in:
Darren Nelsen 2018-05-21 16:05:34 -04:00
parent 3026c0c3fc
commit 67166fe5b6

View File

@ -47,10 +47,8 @@
</p> </p>
<div *ngFor="let item of vin.items"> <div *ngFor="let item of vin.items">
<div *ngIf="item.scriptSig"> <div *ngIf="item.scriptSig">
<div *ngFor="let scriptSig of item.scriptSig.asm | split:' '">
<div class="unlocking-script"> <div class="unlocking-script">
<p>{{ scriptSig }}</p> <p>{{ item.scriptSig.asm }}
</div>
</div> </div>
</div> </div>
</div> </div>