Page MenuHomePhabricator

[Cashtab] [p1 remove BCH.getByteCount] Create an equivalent function with unit tests
ClosedPublic

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

Details

Summary

T2730

Create a new function getCashtabByteCount, which returns the exact same value as BCH.BitcoinCash.getByteCount()

Test Plan

Review new function, unit tests, and npm test

Diff Detail

Repository
rABC Bitcoin ABC
Branch
replace-getbytecount
Lint
Lint Passed
Unit
No Test Coverage
Build Status
Buildable 20728
Build 41120: Build Diffcashtab-tests
Build 41119: arc lint + arc unit

Event Timeline

bytesofman updated this revision to Diff 36017.

Renaming function for clarity

Return number instead of string

This revision is now accepted and ready to land.Oct 27 2022, 03:57