In commit “wallet: Replace “used” destdata with its own member variable” (861e7f949bb0d94f0ff59c7b74a1b10c85b4a08e)
This comment seems a little crazy because the code is literally reading and writing the “used” record with LoadDestData
WriteDestData
EraseDestData
functions. So saying that the field is not stored in destdata would seem to describe the exact opposite of what the code is doing.
I guess the comment is trying to say that the record is no longer added to the CAddressBookData::destdata
struct field, but that field is deleted later in the PR, so that would make the comment immediately obsolete after this PR.
Would suggest dropping “since we no longer store in in destdata” part or dropping the whole comment.