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.
fn check_fee(
tx_weight: usize,
fee: u64,
context: &BlockchainContext,
) -> Result<(), RelayRuleError>
Checks the fee is enough for the tx weight and current blockchain state.