Skip to content
This repository has been archived by the owner on Jun 11, 2024. It is now read-only.

Send token screen should be unaccessible if native token of current application has no balance on account #2135

Closed
Tracked by #1371
clemente-xyz opened this issue Nov 17, 2023 · 0 comments · Fixed by #2136

Comments

@clemente-xyz
Copy link
Contributor

Expected behavior

Send token screen should be unaccessible if native token of current application has no balance on account.

Actual behavior

When an account has no balance on the native token of the current selected application, the send token screen can be accessed by a request token link.

This breaks the send token form, since the token has no balance and is not identified as a "transferable token", blocking the user of continuing with the transaction.

simulator_screenshot_C7F6F48B-5F95-4E38-8F59-1A030C6803AB

Steps to reproduce

  1. Generate a request token link for a sidechain where the current account which will send the tokens has no balance on the native tokens of the current selected application. Here an example link: lisk://wallet?modal=send&recipient=lsk6hfpfvjzso58xqpwxeqeceme2xuemmuk5f887b&amount=0.1&recipientChain=01000001&token=0100000100000000&reference=
  2. Click on it to open Lisk wallet.
  3. Notice that the form breaks.

Which version(s) does this affect? (Environment, OS, etc...)

3.0.0

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.