diff --git a/crates/erc20_payment_lib_common/src/db/ops/token_transfer_ops.rs b/crates/erc20_payment_lib_common/src/db/ops/token_transfer_ops.rs index 9b35a5dd..ff9c17c1 100644 --- a/crates/erc20_payment_lib_common/src/db/ops/token_transfer_ops.rs +++ b/crates/erc20_payment_lib_common/src/db/ops/token_transfer_ops.rs @@ -241,6 +241,7 @@ pub async fn get_pending_token_transfers( WHERE tx_id is null AND error is null AND from_addr = $1 +ORDER by id ASC ", ) .bind(format!("{:#x}", account))