Skip to content

Commit

Permalink
fix incorrect labels in transaction merkleization
Browse files Browse the repository at this point in the history
Update incorrect labels in transaction's `from` Merkle illustration.
  • Loading branch information
etan-status committed Sep 17, 2024
1 parent 129ae73 commit 27891d4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -2508,7 +2508,7 @@
const fromAddress = from.slice(0, 20);
from = from.slice(20);
document.getElementById('selectedTransactionEip6404FromHasAddress').hidden = false;
document.getElementById('selectedTransactionEip6404FromHasAddressMerkleization').innerText = 'from';
document.getElementById('selectedTransactionEip6404FromHasAddressMerkleization').innerText = 'address';
document.getElementById('selectedTransactionEip6404FromAddress').innerText = arrayToHexString(fromAddress);
document.getElementById('selectedTransactionEip6404FromAddressDescription').innerHTML =
'<a href="https://etherscan.io/address/0x' + arrayToHexString(fromAddress) + '" target="_blank">' +
Expand All @@ -2523,7 +2523,7 @@
const fromSecp256k1Signature = from.slice(0, 65);
from = from.slice(65);
document.getElementById('selectedTransactionEip6404FromHasSecp256k1Signature').hidden = false;
document.getElementById('selectedTransactionEip6404FromHasSecp256k1SignatureMerkleization').innerText = 'ecdsa_signature';
document.getElementById('selectedTransactionEip6404FromHasSecp256k1SignatureMerkleization').innerText = 'secp256k1_signature';
document.getElementById('selectedTransactionEip6404FromSecp256k1Signature').innerHTML =
(arrayToHexString(fromSecp256k1Signature).match(/.{1,64}/g) ?? []).join('<br />');
} else {
Expand Down

0 comments on commit 27891d4

Please sign in to comment.