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
Lint
Lint Not Applicable
Unit
Tests Not Applicable

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