File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed
aggregation_mode/batcher/src/server Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -12,7 +12,7 @@ use sqlx::types::BigDecimal;
1212
1313use super :: {
1414 helpers:: format_merkle_paths,
15- types:: { AppResponse , GetReceiptsParams } ,
15+ types:: { AppResponse , GetReceiptsQueryParams } ,
1616} ;
1717
1818use crate :: {
@@ -175,7 +175,7 @@ impl BatcherServer {
175175 // In case of also receiving a nonce on the query param, it returns only the merkle proof for that nonce.
176176 async fn get_receipts (
177177 req : HttpRequest ,
178- params : web:: Query < GetReceiptsParams > ,
178+ params : web:: Query < GetReceiptsQueryParams > ,
179179 ) -> impl Responder {
180180 let Some ( state) = req. app_data :: < Data < BatcherServer > > ( ) else {
181181 return HttpResponse :: InternalServerError ( ) . json ( AppResponse :: new_unsucessfull (
Original file line number Diff line number Diff line change @@ -28,7 +28,7 @@ impl AppResponse {
2828
2929/// Query parameters accepted by `GET /proof/merkle`, containing an optional proof id.
3030#[ derive( Deserialize , Clone ) ]
31- pub ( super ) struct GetReceiptsParams {
31+ pub ( super ) struct GetReceiptsQueryParams {
3232 pub address : Option < String > ,
3333 pub nonce : Option < i64 > ,
3434}
You can’t perform that action at this time.
0 commit comments