Page MenuHomePhabricator

[Chronik] Fix `TxTokenData::from_db`
ClosedPublic

Authored by tobias_ruck on Feb 8 2024, 15:39.

Details

Reviewers
Fabien
Group Reviewers
Restricted Project
Commits
rABC3fbd43e1bdea: [Chronik] Fix `TxTokenData::from_db`
Summary

This currently uses ColoredTx::default() (with outputs = []) when color_tx returns None, which is incorrect, correct is a Vec of None of size tx.outputs.len().

Test Plan

ninja check-functional

Diff Detail

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