HomePhabricator

[Cashtab] If timeFirstSeen is 0, use block timestamp in tx history

Description

[Cashtab] If timeFirstSeen is 0, use block timestamp in tx history

Summary:
Use block timestamp for tx timestamp in history if data.timeFirstSeen is unavailable

Patches a bug where a tx with no timeFirstSeen that is unconfirmed would fail to render.

Test Plan: npm test

Reviewers: #bitcoin_abc, emack

Reviewed By: #bitcoin_abc, emack

Subscribers: emack

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

Details

Provenance
bytesofmanAuthored on Jan 19 2024, 23:34
bytesofmanPushed on Jan 20 2024, 23:50
Reviewer
Restricted Project
Differential Revision
D15215: [Cashtab] If timeFirstSeen is 0, use block timestamp in tx history
Parents
rABC76de96c79402: [Cashtab] Improve CreateTokenForm component and add integration tests
Branches
Unknown
Tags
Unknown