HomePhabricator

Fix struct vs class mismatch for Amount

Description

Fix struct vs class mismatch for Amount

Summary:
The recently introduced (D3344 and D3365) forward declarations for
class Amount conflict with the declared struct Amount from amount.h.
This throws -Wmismatched-tags warnings.

Test Plan:

make check
ninja check

Make sure there is no -Wmismatched-tags warning

Reviewers: #bitcoin_abc, deadalnix, jasonbcox, markblundeberg

Reviewed By: #bitcoin_abc, jasonbcox, markblundeberg

Subscribers: markblundeberg

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

Details

Provenance
FabienAuthored on Jun 26 2019, 07:22
FabienPushed on Jun 26 2019, 17:00
Reviewer
Restricted Project
Differential Revision
D3419: Fix struct vs class mismatch for Amount
Parents
rSTAGINGcc69e5760082: Reject headers building on invalid chains by tracking invalidity
Branches
Unknown
Tags
Unknown