We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 26ed7a8 commit 8e37e1fCopy full SHA for 8e37e1f
aggregation_mode/batcher/src/db.rs
@@ -70,7 +70,8 @@ impl Db {
70
sqlx::query_as::<_, Receipt>(
71
"SELECT status,merkle_path,nonce,address FROM tasks
72
WHERE address = $1
73
- AND nonce = $2",
+ AND nonce = $2
74
+ ORDER BY nonce DESC",
75
)
76
.bind(address.to_lowercase())
77
.bind(nonce)
@@ -86,7 +87,8 @@ impl Db {
86
87
88
89
- LIMIT $2",
90
+ LIMIT $2
91
92
93
94
.bind(limit)
0 commit comments