diff options
Diffstat (limited to 'src/script/descriptor.h')
-rw-r--r-- | src/script/descriptor.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/script/descriptor.h b/src/script/descriptor.h index 46d51fa587..c8d9efb11f 100644 --- a/src/script/descriptor.h +++ b/src/script/descriptor.h @@ -5,7 +5,7 @@ #ifndef BITCOIN_SCRIPT_DESCRIPTOR_H #define BITCOIN_SCRIPT_DESCRIPTOR_H -#include <optional.h> +#include <optional> #include <outputtype.h> #include <script/script.h> #include <script/sign.h> @@ -124,7 +124,7 @@ struct Descriptor { virtual void ExpandPrivate(int pos, const SigningProvider& provider, FlatSigningProvider& out) const = 0; /** @return The OutputType of the scriptPubKey(s) produced by this descriptor. Or nullopt if indeterminate (multiple or none) */ - virtual Optional<OutputType> GetOutputType() const = 0; + virtual std::optional<OutputType> GetOutputType() const = 0; }; /** Parse a `descriptor` string. Included private keys are put in `out`. |