• Péter Szilágyi's avatar
    core/bloombits, eth/filters: handle null topics (#15195) · 2ab2a9f1
    Péter Szilágyi authored
    When implementing the new bloombits based filter, I've accidentally broke null
    topics by removing the special casing of common.Hash{} filter rules, which
    acted as the wildcard topic until now.
    
    This PR fixes the regression, but instead of using the magic hash
    common.Hash{} as the null wildcard, the PR reworks the code to handle nil
    topics during parsing, converting a JSON null into nil []common.Hash topic.
    2ab2a9f1
Name
Last commit
Last update
..
api.go Loading commit data...
api_test.go Loading commit data...
bench_test.go Loading commit data...
filter.go Loading commit data...
filter_system.go Loading commit data...
filter_system_test.go Loading commit data...
filter_test.go Loading commit data...