fn miner_fee(
tx: &Transaction,
spent_utxos: &HashMap<OutPoint, Utxo>,
) -> Result<Amount<NonNegative>, TransactionError>Expand description
Calculates the miner fee from the transaction’s value balance.
fn miner_fee(
tx: &Transaction,
spent_utxos: &HashMap<OutPoint, Utxo>,
) -> Result<Amount<NonNegative>, TransactionError>Calculates the miner fee from the transaction’s value balance.