Skip to main content

compare_receipts_root_and_logs_bloom

Function compare_receipts_root_and_logs_bloom 

Source
pub fn compare_receipts_root_and_logs_bloom(
    calculated_receipts_root: FixedBytes<32>,
    calculated_logs_bloom: Bloom,
    expected_receipts_root: FixedBytes<32>,
    expected_logs_bloom: Bloom,
) -> Result<(), ConsensusError>
Available on crate features node-api and node only.
Expand description

Compare the calculated receipts root with the expected receipts root, also compare the calculated logs bloom with the expected logs bloom.