Function check_fee

Source
fn check_fee(
    tx_weight: usize,
    fee: u64,
    context: &BlockchainContext,
) -> Result<(), RelayRuleError>
Expand description

Checks the fee is enough for the tx weight and current blockchain state.