Skip to content

Commit

Permalink
src: add 0x prefix to script hash
Browse files Browse the repository at this point in the history
Most of other UIs use this prefix for script hashes.

Signed-off-by: Roman Khimov <[email protected]>
  • Loading branch information
roman-khimov committed Mar 28, 2024
1 parent eb19d32 commit 168e971
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Home.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -201,7 +201,7 @@ const Home = ({
</Heading>
<Heading subtitle size={6}>
<span>{`Script hash: `}</span>
{data.contract && data.contract[activeNet].script_hash}
{`0x${data.contract && data.contract[activeNet].script_hash}`}
</Heading>
</Tile>
</Tile>
Expand Down

0 comments on commit 168e971

Please sign in to comment.