From 65ae0cd62cead96408e741f506091a0058bfe97b Mon Sep 17 00:00:00 2001 From: qshuai Date: Sun, 25 Mar 2018 13:38:38 +0800 Subject: [PATCH] fix block weight item for supporting bitcoin-abc --- views/includes/block-content.pug | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/views/includes/block-content.pug b/views/includes/block-content.pug index fc3ca8b..ca05e76 100644 --- a/views/includes/block-content.pug +++ b/views/includes/block-content.pug @@ -56,7 +56,8 @@ div(class="tab-content") th(class="table-active properties-header") Size td(class="monospace") span #{result.getblock.size.toLocaleString()} bytes - span(class="text-muted") (weight: #{result.getblock.weight.toLocaleString()}) + if (result.getblock.weight) + span(class="text-muted") (weight: #{result.getblock.weight.toLocaleString()}) tr th(class="table-active properties-header") Confirmations