From dd05a15aacd430d04e947d28cad543addc31768f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Cl=C3=A9ment=20Pr=C3=A9vost?= <998369+prevostc@users.noreply.github.com> Date: Sun, 8 Dec 2024 13:04:01 +0100 Subject: [PATCH] Fix transaction_hash --- api/src/routes/last-harvest-reports.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/api/src/routes/last-harvest-reports.ts b/api/src/routes/last-harvest-reports.ts index 1befc5a..22610b9 100644 --- a/api/src/routes/last-harvest-reports.ts +++ b/api/src/routes/last-harvest-reports.ts @@ -110,7 +110,7 @@ lastHarvestReportApi.openapi(lastHarvestReportsRoute, async c => { decision_might_need_eol, decision_harvest_return_data, decision_harvest_return_data_decoded, transaction_started, transaction_ok, transaction_ko_reason, - transaction_hash, transaction_block_number, transaction_gas_used, + bytea_to_hexstr(transaction_hash) as transaction_hash, transaction_block_number, transaction_gas_used, transaction_effective_gas_price, transaction_cost_wei, transaction_balance_before_wei, transaction_estimated_profit_wei, summary_harvested, summary_skipped, summary_status @@ -201,7 +201,7 @@ lastHarvestReportApi.openapi(lastHarvestReportByVaultRoute, async c => { decision_might_need_eol, decision_harvest_return_data, decision_harvest_return_data_decoded, transaction_started, transaction_ok, transaction_ko_reason, - transaction_hash, transaction_block_number, transaction_gas_used, + bytea_to_hexstr(transaction_hash) as transaction_hash, transaction_block_number, transaction_gas_used, transaction_effective_gas_price, transaction_cost_wei, transaction_balance_before_wei, transaction_estimated_profit_wei, summary_harvested, summary_skipped, summary_status