pub fn get_age_since_sent_or_created(
tx: &TransactionRepoModel,
) -> Result<Duration, TransactionError>Expand description
Gets the age of a transaction since it was sent, falling back to created_at.
If sent_at is present but invalid, this falls back to created_at and emits a warning.