Skip to content

Bug in ArchivalState::get_addition_record_indices_for_block #820

@Sword-Smith

Description

@Sword-Smith

This function returns a Option<HashMap<AdditionRecord, Option<u64>>> to enumerate all addition records (transaction outputs) in a block. But it fails to take into account that the same addition record can be present in a block multiple times. So the return type might have to be changed to Option<HashMap<AdditionRecord, Option<Vec<u64>>>>.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions