From 1a7a8c5766335d4d801ef5ffe6971fe4dd90b12d Mon Sep 17 00:00:00 2001 From: harisang Date: Tue, 24 Dec 2024 13:52:19 +0200 Subject: [PATCH] bug fix --- .../accounting/fees/protocol_fees_by_order_class_3703312.sql | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cowprotocol/accounting/fees/protocol_fees_by_order_class_3703312.sql b/cowprotocol/accounting/fees/protocol_fees_by_order_class_3703312.sql index 69bb432..faa5805 100644 --- a/cowprotocol/accounting/fees/protocol_fees_by_order_class_3703312.sql +++ b/cowprotocol/accounting/fees/protocol_fees_by_order_class_3703312.sql @@ -37,7 +37,7 @@ protocol_fees_collected as ( quote_buy_amount, tx_hash from "query_4364122(blockchain='{{blockchain}}')" - where block_number > (select initial_block from initial_block) and cast(order_uid as varchar) not in (select order_uid from query_3639473) + where block_number > (select initial_block from initial_block) and order_uid not in (select order_uid from query_3639473) ) select