Adding TLV to channel details

This commit is contained in:
softsimon 2022-07-01 14:58:17 +02:00
parent da9834d272
commit 4d83478e7d
No known key found for this signature in database
GPG Key ID: 488D7DCFB5A430D7
2 changed files with 14 additions and 1 deletions

View File

@ -40,7 +40,15 @@
<app-sats [satoshis]="channel.max_htlc_mtokens / 1000"></app-sats>
</td>
</tr>
<tr>
<td i18n="address.total-sent">Timelock delta</td>
<td>
<ng-container *ngTemplateOutlet="blocksPlural; context: {$implicit: channel.cltv_delta }"></ng-container>
</td>
</tr>
</tbody>
</table>
</div>
</div>
<ng-template #blocksPlural let-i i18n="shared.blocks">{{ i }} <span class="shared-block">blocks</span></ng-template>

View File

@ -11,3 +11,8 @@
width: 50%;
margin-top: auto;
}
.shared-block {
color: #ffffff66;
font-size: 12px;
}