Page MenuHomePhabricator

[Cashtab] Fallback to block time if timeFirstSeen is zero
ClosedPublic

Authored by bytesofman on Nov 26 2022, 07:49.

Details

Reviewers
emack
Group Reviewers
Restricted Project
Commits
rABCb17d944a7ddb: [Cashtab] Fallback to block time if timeFirstSeen is zero
Summary

T2806

If chronik has not seen a tx, timeFirstSeen will be zero and Cashtab will parse the tx as having been sent in 1970.

Fall back to blocktime in this case to get a mostly accurate time estimate.

Test Plan

Ping me on Telegram for a wallet seed with some txs in this category
Import at cashtab.com and note wrong dates
npm start and confirm accurate dates

Diff Detail

Repository
rABC Bitcoin ABC
Branch
add-timefirstseen-fallback
Lint
Lint Passed
Unit
No Test Coverage
Build Status
Buildable 21178
Build 42008: Build Diffcashtab-tests
Build 42007: arc lint + arc unit