Page MenuHomePhabricator

Use real value when calculating OutputGroup value
ClosedPublic

Authored by PiRK on Thu, Sep 9, 13:42.

Details

Reviewers
majcosta
Group Reviewers
Restricted Project
Commits
rABC01e27ccd5146: 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

Diff Detail

Repository
rABC Bitcoin ABC
Lint
Lint Not Applicable
Unit
Tests Not Applicable