Page MenuHomePhabricator

[Cashtab] correct error in parsing tx history for op ret txs
ClosedPublic

Authored by bytesofman on Sep 13 2021, 15:48.

Details

Summary

T1847

Cashtab assumes that a tx with no address object in output is a token tx when parsing tx history. However, the tx could be a normal OP return tx.

This diff flags such a tx as non-token if no token info is available in the API check. Previous behavior failed on the error.

This does not impact utxo parsing, only tx history parsing.

Test Plan
  1. DM me for a seed with such a tx in history to test, or send yourself a tx with an OP return output.
  2. Observe that the tx is parsed correctly.

Diff Detail

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