Permalink
Browse files

Display header version in hex

  • Loading branch information...
1 parent db9e7cd commit 304d2e853f98d74728215adea3dc42619a809922 @veqtrus veqtrus committed Jun 9, 2016
Showing with 2 additions and 1 deletion.
  1. +2 −1 web-static/share.html
@@ -68,7 +68,8 @@
block.append('span').text('Hash: ')
block.append('a').attr('href', currency_info.block_explorer_url_prefix + share.block.hash).text(share.block.hash);
b.append('h3').text('Header');
- b.append('p').text('Version: ' + share.block.header.version);
+ b.append('p').text('Version (dec): ' + share.block.header.version);
+ b.append('p').text('Version (hex): ' + share.block.header.version.toString(16));
var prevblock = b.append('p')
prevblock.append('span').text('Previous block: ');
prevblock.append('a').attr('href', currency_info.block_explorer_url_prefix + share.block.header.previous_block).text(share.block.header.previous_block);

0 comments on commit 304d2e8

Please sign in to comment.