aboutsummaryrefslogtreecommitdiff
path: root/src/kernel/coinstats.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/kernel/coinstats.cpp')
-rw-r--r--src/kernel/coinstats.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/kernel/coinstats.cpp b/src/kernel/coinstats.cpp
index ff8a33e804..81c496ab34 100644
--- a/src/kernel/coinstats.cpp
+++ b/src/kernel/coinstats.cpp
@@ -134,7 +134,8 @@ static bool ComputeUTXOStats(CCoinsView* view, CCoinsStats& stats, T hash_obj, c
outputs[key.n] = std::move(coin);
stats.coins_count++;
} else {
- return error("%s: unable to read value", __func__);
+ LogError("%s: unable to read value\n", __func__);
+ return false;
}
pcursor->Next();
}