Page MenuHomePhabricator

[Cashtab] [p5 normalizeBalance fix] Improve name of normalizeBalance function
ClosedPublic

Authored by bytesofman on Aug 11 2022, 23:54.

Details

Summary

T2601

Depends on D11846

Change name of normalizeBalance to getWalletBalanceFromUtxos

This is much more clear about what the function is actually doing. Not sure wtf I was thinking with the original normalize name.

Test Plan

npm test

Note that this function is still only being referenced by the loadStoredWallet in cashMethods.js.

Diff Detail

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