aboutsummaryrefslogtreecommitdiff
path: root/src/wallet/wallet2.cpp
diff options
context:
space:
mode:
authorThomas Winget <tewinget@gmail.com>2014-06-30 06:45:20 -0400
committerThomas Winget <tewinget@gmail.com>2014-06-30 06:45:20 -0400
commit55721da1fd2491891a5a7e8ff48daccf28c76abe (patch)
tree51802c04a0379a29747d4fb660f9643dfc753ab6 /src/wallet/wallet2.cpp
parentMerge pull request #54 from zone117x/master (diff)
downloadmonero-55721da1fd2491891a5a7e8ff48daccf28c76abe.tar.xz
Revert "Do not fall over when refreshing balance fails"
Diffstat (limited to 'src/wallet/wallet2.cpp')
-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;
}
}
}