Closed mattlaux closed 5 hours ago
The latest updates on your projects. Learn more about Vercel for Git ↗︎
Name | Status | Preview | Comments | Updated (UTC) |
---|---|---|---|---|
cardano-constitution-voting-app-mainnet | ✅ Ready (Inspect) | Visit Preview | 💬 Add feedback | Nov 26, 2024 4:30pm |
cardano-constitution-voting-app-testnet | ✅ Ready (Inspect) | Visit Preview | 💬 Add feedback | Nov 26, 2024 4:30pm |
This PR addresses issue #175 where leading and trailing spaces in the wallet address would prevent the wallet from connecting.
There is now a
.trim()
call on the FE when the wallet address is passed to the BE. There is also a.trim()
call on the BE before the wallet address is saved to the DB. These 2 checks should ensure that no wallet address with leading or trailing spaces gets saved to the DB.I added 1 test:
Similar changes were made in the seed DB function that can be seen here.
Other changes: