diff options
Diffstat (limited to 'src/kernel/checks.h')
-rw-r--r-- | src/kernel/checks.h | 4 |
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&); } |