HomePhabricator

Use real value when calculating OutputGroup value

Description

Use real value when calculating OutputGroup value

Summary:
OutputGroup::m_value is the true value, not the effective value,
so use the true values of the outputs, not their effective values.

This is a backport of core#17458 [1/2]
https://github.com/bitcoin/bitcoin/pull/17458/commits/9adc2f80fc14f11ee2b1f989ee7be71b58481e6f#

Test Plan: ninja all check-all

Reviewers: #bitcoin_abc, majcosta

Reviewed By: #bitcoin_abc, majcosta

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

Details

Provenance
Andrew Chow <achow101-github@achow101.com>Authored on Nov 7 2019, 22:19
PiRKCommitted on Sep 10 2021, 10:11
PiRKPushed on Sep 10 2021, 10:11
Reviewer
Restricted Project
Differential Revision
D10088: Use real value when calculating OutputGroup value
Parents
rABCf58d3ab83703: wallet: Don't override signing errors
Branches
Unknown
Tags
Unknown