HomePhabricator

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

Description

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

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.

Reviewers: #bitcoin_abc, emack

Reviewed By: #bitcoin_abc, emack

Differential Revision: https://reviews.bitcoinabc.org/D11847

Details

Provenance
bytesofmanAuthored on Aug 11 2022, 23:52
bytesofmanPushed on Aug 12 2022, 15:49
Reviewer
Restricted Project
Differential Revision
D11847: [Cashtab] [p5 normalizeBalance fix] Improve name of normalizeBalance function
Parents
rABC0e4ad827a420: [Cashtab] [p4 normalizeBalance fix] Change function input to nonSlpUtxos
Branches
Unknown
Tags
Unknown