fn validate_existing_settlement_ledger_in_tx( conn: &mut PgConnection, wallet: &WalletAddress, symbol: &str, ledger_delta: Decimal, ) -> Result<()>