Index asciiScriptSig and display it in /mining/blocks
This commit is contained in:
1 parent
633a0c79da
commit
acaa6c6e45
8 files changed
+59
-17
No files matched your search
@@ -15,7 +15,7 @@ export class Hex2asciiPipe implements PipeTransform {
|
||||
if (!hex) {
|
||||
return '';
|
||||
}
|
||||
let bytes: number[] = [];
|
||||
const bytes: number[] = [];
|
||||
for (let i = 0; i < hex.length; i += 2) {
|
||||
bytes.push(parseInt(hex.substr(i, 2), 16));
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user