File tree Expand file tree Collapse file tree
node/src/accountant/db_access_objects Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -255,14 +255,14 @@ impl ReceivableDao for ReceivableDaoReal {
255255 fn custom_query ( & self , custom_query : CustomQuery < i64 > ) -> Option < Vec < ReceivableAccount > > {
256256 let variant_top = TopStmConfig {
257257 limit_clause : "limit :limit_count" ,
258- gwei_min_resolution_clause : "where (balance_high_b > 0) or ((balance_high_b = 0) and (balance_low_b >= 1000000000 ))" ,
258+ gwei_min_resolution_clause : "where (balance_high_b > 0) or ((balance_high_b = 0) and (balance_low_b >= 50000 ))" ,
259259 age_ordering_clause : "last_received_timestamp asc" ,
260260 } ;
261261 let variant_range = RangeStmConfig {
262262 where_clause : "where ((last_received_timestamp <= :max_timestamp) and (last_received_timestamp >= :min_timestamp)) \
263263 and ((balance_high_b > :min_balance_high_b) or ((balance_high_b = :min_balance_high_b) and (balance_low_b >= :min_balance_low_b))) \
264264 and ((balance_high_b < :max_balance_high_b) or ((balance_high_b = :max_balance_high_b) and (balance_low_b <= :max_balance_low_b)))",
265- gwei_min_resolution_clause : "and (((balance_high_b > 0) or ((balance_high_b = 0) and (balance_low_b >= 1000000000 ))) \
265+ gwei_min_resolution_clause : "and (((balance_high_b > 0) or ((balance_high_b = 0) and (balance_low_b >= 50000 ))) \
266266 or ((balance_high_b < -1) or ((balance_high_b = -1) and (balance_low_b <= 9223372035854775807))))", //i64::MAX - 1*10^9
267267 secondary_order_param : "last_received_timestamp asc"
268268 } ;
You can’t perform that action at this time.
0 commit comments