Eric Mastro daabef3a3c fix: do not show watch-only accounts as “from address”
Fixes: #2257.

If a user had selected a watch-only address in the wallet, the backend `walletModel.currentAccount` property would also change. When loading a transaction modal, this property was used to set the `selectedAccount` value for the “from” `AccountSelector`, regardless if the account was a watch-only address.

This PR updates the logic for `selectedAccount` such that it will only allow the account to be selected if it is not a watch-only account.
2021-04-29 12:36:39 -04:00
..
2021-02-18 15:23:58 -05:00
2020-11-11 12:14:35 -05:00
2021-04-27 16:19:49 -04:00
2021-01-14 15:59:45 -05:00
2021-03-05 09:36:50 -05:00
2020-11-26 11:33:32 -05:00