Skip to content

Commit ff9cf81

Browse files
committed
fix: detail on sdk
1 parent efbc46c commit ff9cf81

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

batcher/aligned-sdk/src/sdk.rs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -306,7 +306,7 @@ async fn _submit_multiple(
306306

307307
let payment_service_addr = get_payment_service_address(network);
308308

309-
let (sender_channel, receiver_channel) = mpsc::channel(1024); //TODO Magic number
309+
let (sender_channel, receiver_channel) = mpsc::channel(50000); //TODO Magic number
310310

311311
let (send_result, receive_result) = tokio::join!(
312312
send_messages(
@@ -323,13 +323,13 @@ async fn _submit_multiple(
323323
receiver_channel
324324
),
325325
);
326-
326+
327327
// Close connection
328328
info!("Closing WS connection");
329329
ws_write_clone.lock().await.close().await?;
330330

331331
send_result?;
332-
return receive_result
332+
return receive_result;
333333
}
334334

335335
/// Submits a proof to the batcher to be verified in Aligned and waits for the verification on-chain.

0 commit comments

Comments
 (0)