From 3285cf80470fddf7f29bdea51c642459ec0d4a14 Mon Sep 17 00:00:00 2001 From: Michael Vines Date: Fri, 22 Mar 2019 10:36:28 -0700 Subject: [PATCH] Retry more for a new blockhash --- wallet/src/wallet.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/wallet/src/wallet.rs b/wallet/src/wallet.rs index 2158e69ede..2389be40ec 100644 --- a/wallet/src/wallet.rs +++ b/wallet/src/wallet.rs @@ -788,7 +788,7 @@ fn get_next_blockhash( rpc_client: &RpcClient, previous_blockhash: &Hash, ) -> Result> { - let mut next_blockhash_retries = 3; + let mut next_blockhash_retries = 10; loop { let next_blockhash = get_recent_blockhash(rpc_client)?; if cfg!(not(test)) {