aboutsummaryrefslogtreecommitdiff
path: root/src/wallet
diff options
context:
space:
mode:
authorThomas Winget <tewinget@gmail.com>2014-06-30 06:47:48 -0400
committerThomas Winget <tewinget@gmail.com>2014-06-30 06:47:48 -0400
commit4c67dbb08e0953e4a23a2a452e2b84d3f795cdf8 (patch)
tree51802c04a0379a29747d4fb660f9643dfc753ab6 /src/wallet
parentMerge pull request #54 from zone117x/master (diff)
parentRevert "Do not fall over when refreshing balance fails" (diff)
downloadmonero-4c67dbb08e0953e4a23a2a452e2b84d3f795cdf8.tar.xz
Merge pull request #55 from monero-project/revert-54-master
Revert "Do not fall over when refreshing balance fails"
Diffstat (limited to 'src/wallet')
-rw-r--r--src/wallet/wallet2.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/wallet/wallet2.cpp b/src/wallet/wallet2.cpp
index 7f8bb65fd..a63eb4be7 100644
--- a/src/wallet/wallet2.cpp
+++ b/src/wallet/wallet2.cpp
@@ -309,8 +309,7 @@ void wallet2::refresh(size_t & blocks_fetched, bool& received_money)
else
{
LOG_ERROR("pull_blocks failed, try_count=" << try_count);
- //throw;
- return;
+ throw;
}
}
}