Page MenuHomePhabricator

[Cashtab] Fix fee calculation for one to many txs
ClosedPublic

Authored by bytesofman on Mar 7 2022, 18:22.

Details

Reviewers
emack
Group Reviewers
Restricted Project
Commits
rABC812861103b5a: [Cashtab] Fix fee calculation for one to many txs
Summary

T2268

Fee calculation is based on 2 outputs. However, for multi-send txs, fees need to take into account the total number of outputs.

Test Plan

Generate a multi-send tx with 20+ outputs. Send successfully with no fee error.

Diff Detail

Repository
rABC Bitcoin ABC
Branch
multisend-fee-calc-fix
Lint
Lint Passed
Unit
No Test Coverage
Build Status
Buildable 18430
Build 36657: Build Diffcashtab-tests
Build 36656: arc lint + arc unit