Skip to content

?Q? add .storeAccounts global boolean? #16

Description

@spencercap

should we add a global bool for .storeAccounts which is checked before every write to .store.activeAccount etc etc

i was going to implement this but realized there would be a tone of unintended side effects like computed vars .isConnected and .isActive and .activeWallet checks that being correct.

Screenshot 2023-05-30 at 10 49 01 PM
			if (AnyWalletState.storeAccounts == false) {
				logger.log('.storeAccounts set to false, not recalling or setting .stored');
				return;
			}

Metadata

Metadata

Assignees

No one assigned

    Labels

    questionFurther information is requested

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions