HomePhabricator

blockfilter: Remove sharp edge (uninitialized m_filter_type) when using the…

Description

blockfilter: Remove sharp edge (uninitialized m_filter_type) when using the compiler-generated constructor for BlockFilter

Summary:
backport of core PR 15532 (commit 82c3b3f8e)

Note: due to BOOST_CHECK_EQUAL barfing on the new enum class uint8_t,
I've switched that test to also use just BOOST_CHECK.

Test Plan: make check

Reviewers: #bitcoin_abc, deadalnix, jasonbcox

Reviewed By: #bitcoin_abc, jasonbcox

Subscribers: Mengerian, jasonbcox

Maniphest Tasks: T589

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

Event Timeline

Mark Lundeberg <36528214+markblundeberg@users.noreply.github.com> committed rABCf9ed1e8d3ff8: blockfilter: Remove sharp edge (uninitialized m_filter_type) when using the… (authored by practicalswift <practicalswift@users.noreply.github.com>).May 4 2019, 17:51