Skip to content

Commit

Permalink
fix(wallet_web_ui): invalid resource error on transfers (#1175)
Browse files Browse the repository at this point in the history
Description
---
Fixed the default XTR resource address in the wallet web ui

Motivation and Context
---
Recently we changed the format of resource and component addresses,
being now a bit longer. The wallet web ui still got a constant for the
XTR resource with the old format, causing problems when doing transfers.
This PR fixes it.

How Has This Been Tested?
---
Manually by launching a local network with `tari_swarm`, creating
accounts and doing transfers

What process can a PR reviewer use to test or verify this change?
---
See previous section

Breaking Changes
---

- [x] None
- [ ] Requires data directory to be deleted
- [ ] Other - Please specify
  • Loading branch information
mrnaveira authored Oct 17, 2024
1 parent a0322f9 commit 0949763
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ import {
} from "@tari-project/typescript-bindings";
import InputLabel from "@mui/material/InputLabel";

const XTR2 = "resource_01010101010101010101010101010101010101010101010101010101";
const XTR2 = "resource_0101010101010101010101010101010101010101010101010101010101010101";

export default function SendMoney() {
const [open, setOpen] = useState(false);
Expand Down

0 comments on commit 0949763

Please sign in to comment.