diff options
| author | MarcoFalke <[email protected]> | 2020-06-16 11:02:46 -0400 |
|---|---|---|
| committer | MarcoFalke <[email protected]> | 2020-06-16 10:51:50 -0400 |
| commit | fa02b473132932c200be1750d1a5b1de14ea2383 (patch) | |
| tree | 8e6afbd86be3614afaf3cfc4f67f5c63b2558967 /src/validation.cpp | |
| parent | Merge #18927: Pass bilingual_str argument to AbortNode() (diff) | |
| download | discoin-fa02b473132932c200be1750d1a5b1de14ea2383.tar.xz discoin-fa02b473132932c200be1750d1a5b1de14ea2383.zip | |
refactor: Use AbortError in FatalError
This is needed for consistency with AbortNode
Diffstat (limited to 'src/validation.cpp')
| -rw-r--r-- | src/validation.cpp | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/src/validation.cpp b/src/validation.cpp index 49c0142be..8bb03fdb9 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()) { |