Page MenuHomePhabricator

[Cashtab] [p2 remove BCH.getByteCount] Replace BCH.getByteCount in calcFee
ClosedPublic

Authored by bytesofman on Oct 26 2022, 23:42.

Details

Summary

T2730

Depends on D12376

Replace the BCH method in the calcFee function. This means that BCH is no longer an input parameter to calcFee, so it is removed in all function calls.

Test Plan

Review updated function and npm test. Note that the existing unit test for calcFee still passes.

grep -r calcFee web/cashtab/src. Confirm that all calls to calcFee have had the BCH parameter removed.

Diff Detail

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