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.
The
change_address_expirationcommand 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.