Skip to content

CLI: Change address expiration of an non-existent address #2048

@dbadol

Description

@dbadol

The change_address_expiration command gives a misleading answer when applied to a valid but non-existent addresses (such as an address created in another wallet with the same seed phrase).

Indeed, the wallet gives the following answer to the command change_address_expiration --address=37c47c42d97b1807f7c3dd78a967108862534871ca1642de7398ee4b26c896c262e:
Expiration for address 37c47c42d97b1807f7c3dd78a967108862534871ca1642de7398ee4b26c896c262e was changed to "never".

Yet, nothing really happened, as that address does not exist in the wallet! Despite the message above, the address does not appear in the address list, and the wallet doesn't listen to it.

Expected behaviour
It would be better if the wallet detected the address does not exist in its address book and said so to the user.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions