aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatthew Little <zone117x@gmail.com>2014-06-29 18:04:29 -0600
committerMatthew Little <zone117x@gmail.com>2014-06-29 18:04:29 -0600
commitb87577f4441fd53d513ecf64a905104db3db20e2 (patch)
tree35475d42787a1a4d6c706f122095b900f739f618
parentset max block size for gbt (diff)
downloadmonero-b87577f4441fd53d513ecf64a905104db3db20e2.tar.xz
Do not fall over when refreshing balance fails
-rw-r--r--src/wallet/wallet2.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/wallet/wallet2.cpp b/src/wallet/wallet2.cpp
index a63eb4be7..7f8bb65fd 100644
--- a/src/wallet/wallet2.cpp
+++ b/src/wallet/wallet2.cpp
@@ -309,7 +309,8 @@ void wallet2::refresh(size_t & blocks_fetched, bool& received_money)
else
{
LOG_ERROR("pull_blocks failed, try_count=" << try_count);
- throw;
+ //throw;
+ return;
}
}
}