Skip to content

Commit

Permalink
fix: Receive page should use Checksum (#1784)
Browse files Browse the repository at this point in the history
- Closes #1780 
- Closes
https://linear.app/fuel-network/issue/FE-1329/receive-page-should-use-checksum

Fix receive page now use checksum address to display
  • Loading branch information
Dhanraj30 authored Feb 2, 2025
1 parent 9ea7fca commit b3aa7ce
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 2 deletions.
5 changes: 5 additions & 0 deletions .changeset/friendly-lemons-carry.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"fuels-wallet": major
---

chore: make address checksummed on Receive Page
4 changes: 2 additions & 2 deletions packages/app/src/systems/Home/pages/Receive/Receive.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -17,10 +17,10 @@ export function Receive() {
{account?.address && (
<MotionFlex {...animations.slideInTop()} css={styles.contentWrapper}>
<UserAddressCard
address={Address.fromDynamicInput(account?.address).toB256()}
address={Address.fromDynamicInput(account?.address).toChecksum()}
/>
<ReceiverQRCode
address={Address.fromDynamicInput(account?.address).toB256()}
address={Address.fromDynamicInput(account?.address).toChecksum()}
/>
</MotionFlex>
)}
Expand Down

0 comments on commit b3aa7ce

Please sign in to comment.