Skip to content

Wallet file should not be reused across chains #12805

@maflcko

Description

@maflcko

Now that it is possible to specify a full path for the wallet (or a walletdir), the same wallet file is happily reused even when switching chains.

Imo that use case has no purpose, since all transactions on one chain are invalid on the other. It might be better to return an InitError in that case than writing useless data to a wallet file of a different chain.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions