aboutsummaryrefslogtreecommitdiff
path: root/src/validation.cpp
diff options
context:
space:
mode:
authorMarcoFalke <falke.marco@gmail.com>2020-06-17 06:36:32 -0400
committerMarcoFalke <falke.marco@gmail.com>2020-06-17 06:36:34 -0400
commit39bd9ddb8783807b9cde6288233e86ad7c85d61f (patch)
treeed1f84b3a706636e9e89772274fc14c759e38e9c /src/validation.cpp
parent38389dd3a0cf7e452d6a4801f96a3b3eb9d9c359 (diff)
parentfa02b473132932c200be1750d1a5b1de14ea2383 (diff)
downloadbitcoin-39bd9ddb8783807b9cde6288233e86ad7c85d61f.tar.xz
Merge #19295: refactor: Use AbortError in FatalError
fa02b473132932c200be1750d1a5b1de14ea2383 refactor: Use AbortError in FatalError (MarcoFalke) Pull request description: `FatalError` has been copied from `AbortNode`, so the two should use the same style to avoid confusion. Follow-up to #18927 ACKs for top commit: hebasto: ACK fa02b473132932c200be1750d1a5b1de14ea2383, I have reviewed the code and it looks OK, I agree it can be merged. Tree-SHA512: 2cf6d18a6ffb5c2e5cf54f0a072a7cef6dc7e924152b2fee44e6ff2c6c53bad962afd364eda30d8a73883d656429ea68391090e6a27057e69eaefd7c4dad0a33
Diffstat (limited to 'src/validation.cpp')
-rw-r--r--src/validation.cpp2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/validation.cpp b/src/validation.cpp
index 49c0142be2..8bb03fdb97 100644
--- a/src/validation.cpp
+++ b/src/validation.cpp
@@ -1662,8 +1662,6 @@ bool UndoReadFromDisk(CBlockUndo& blockundo, const CBlockIndex* pindex)
return true;
}
-constexpr auto AbortError = InitError;
-
/** Abort with a message */
static bool AbortNode(const std::string& strMessage, bilingual_str user_message = bilingual_str())
{