HomePhabricator

[Cashtab] Exclude slp utxos if tokenQty is 0

Description

[Cashtab] Exclude slp utxos if tokenQty is 0

Summary: If an slp utxo is returned with tokenQty === '0', it should not be included in the app's token utxo set. This diff adds this rule and a new unit test confirming it.

Test Plan: npm test

Reviewers: #bitcoin_abc, Fabien

Reviewed By: #bitcoin_abc, Fabien

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

Details

Provenance
Joey King <joseph.roy.king@gmail.com>Authored on Mar 30 2021, 19:41
bytesofmanPushed on Mar 31 2021, 13:13
Reviewer
Restricted Project
Differential Revision
D9362: [Cashtab] Exclude slp utxos if tokenQty is 0
Parents
rABC4a38b361f68c: Check for overflow when calculating sum of outputs
Branches
Unknown
Tags
Unknown

Event Timeline