aboutsummaryrefslogtreecommitdiff
path: root/src/kernel/checks.h
diff options
context:
space:
mode:
authorRyan Ofsky <ryan@ofsky.org>2022-09-01 15:35:23 -0400
committerRyan Ofsky <ryan@ofsky.org>2023-05-24 08:55:47 -0400
commit8aa8f73adce72e1ae855b43413c1f65504423cb7 (patch)
tree4a62bc784ac4d924708fdaee81354707e8247786 /src/kernel/checks.h
parent5f49cb1bc8e6ba0671c21bf6292d2d3de43fd001 (diff)
refactor: Replace std::optional<bilingual_str> with util::Result
Diffstat (limited to 'src/kernel/checks.h')
-rw-r--r--src/kernel/checks.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/kernel/checks.h b/src/kernel/checks.h
index 3eb14824fb..8cff4e3be4 100644
--- a/src/kernel/checks.h
+++ b/src/kernel/checks.h
@@ -5,7 +5,7 @@
#ifndef BITCOIN_KERNEL_CHECKS_H
#define BITCOIN_KERNEL_CHECKS_H
-#include <optional>
+#include <util/result.h>
struct bilingual_str;
@@ -16,7 +16,7 @@ struct Context;
/**
* Ensure a usable environment with all necessary library support.
*/
-std::optional<bilingual_str> SanityChecks(const Context&);
+util::Result<void> SanityChecks(const Context&);
}