HomePhabricator

Clean message_count and last_message

Description

Clean message_count and last_message

Summary:
This commit clarifies the intended usage of message_count and
last_message. Additionally it changes the only usage of message_count
to using last_message instead, bringing the code further along the
intended usage.

This is a backport of core#19599

Test Plan: ninja check-functional

Reviewers: #bitcoin_abc, majcosta

Reviewed By: #bitcoin_abc, majcosta

Differential Revision: https://reviews.bitcoinabc.org/D10047

Details

Provenance
Troy Giorshev <troygiorshev@gmail.com>Authored on Jul 27 2020, 11:55
PiRKCommitted on Sep 6 2021, 16:07
PiRKPushed on Sep 6 2021, 16:07
Reviewer
Restricted Project
Differential Revision
D10047: Clean message_count and last_message
Parents
rABC2e5de08a80b5: walletdb: Ensure that having no database handle is a failure
Branches
Unknown
Tags
Unknown