Skip to content

Commit 3030f1e

Browse files
committed
docs: update docs
1 parent 2a537be commit 3030f1e

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

docs/3_guides/1.2_SDK_api_reference.md

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -151,8 +151,7 @@ pub async fn submit_and_wait_verification(
151151

152152
### `submit_multiple_and_wait_verification`
153153

154-
Submits multiple proofs to the batcher to be verified, waits for the verification on Ethereum and returns an aligned
155-
verification data array.
154+
Submits multiple proofs to the batcher for verification, waits for verification on Ethereum, and returns an array of `Result`s containing aligned verification data that indicates whether each proof was successfully submitted. If a timeout occurs while waiting for verification, an additional `Err` is appended to the end of the returned array.
156155

157156
```rust
158157
pub async fn submit_multiple_and_wait_verification(
@@ -163,7 +162,7 @@ pub async fn submit_multiple_and_wait_verification(
163162
wallet: Wallet<SigningKey>,
164163
nonce: U256,
165164
payment_service_addr: &str,
166-
) -> Result<Vec<AlignedVerificationData>, errors::SubmitError>
165+
) -> Vec<Result<AlignedVerificationData, errors::SubmitError>>
167166
```
168167

169168
#### Arguments

0 commit comments

Comments
 (0)