Page MenuHomePhabricator

[explorer] Fix unconfirmed txs showing as block height 0
ClosedPublic

Authored by Fabien on Jun 6 2024, 14:38.

Details

Reviewers
PiRK
Group Reviewers
Restricted Project
Commits
rABCc21c6c5d123c: [explorer] Fix unconfirmed txs showing as block height 0
Summary

Block height is None for mempool transactions, so update the code accordingly.

Test Plan

Watch your wallet address and send yourself a transaction. Check it shows as unconfirmed with a red background and is non-clickable, instead of height 0 with an invalid link.

Diff Detail

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