Skip to content

Commit

Permalink
make genesis transaction display friendlier (#1817)
Browse files Browse the repository at this point in the history
Handles
  • Loading branch information
Stella Cannefax authored and longbowlu committed May 12, 2022
1 parent a8ded0a commit b9b12be
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions explorer/client/src/components/longtext/Longtext.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,15 @@ function Longtext({
navigateWithUnknown(text, navigate).then(() => setPleaseWait(false));
}, [text, navigate]);

// temporary hack to make display of the genesis transaction clearer
if (
category === 'transactions' &&
text === 'AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA='
) {
text = 'Genesis';
isLink = false;
}

let textComponent;
if (isLink) {
if (category === 'unknown') {
Expand Down

0 comments on commit b9b12be

Please sign in to comment.