Configure exponential backoff so that it never stops retrying

pull/12/head
Lucas Soriano del Pino 4 years ago
parent 15f7932f7f
commit 08be87747f

@ -111,7 +111,10 @@ impl WatchForTransfer for BobWallet<'_> {
Ok(proof)
})
.retry(ExponentialBackoff::default())
.retry(ExponentialBackoff {
max_elapsed_time: None,
..Default::default()
})
.await;
if let Err(Error::InsufficientFunds { expected, actual }) = res {

Loading…
Cancel
Save