Note on transaction fee calculation