openzeppelin_relayer::domain

Function has_enough_confirmations

Source
pub fn has_enough_confirmations(
    tx_block_number: u64,
    current_block_number: u64,
    chain_id: u64,
) -> bool
Expand description

Helper function to check if a transaction has enough confirmations.