aboutsummaryrefslogtreecommitdiff
path: root/src/test/fuzz/psbt.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/test/fuzz/psbt.cpp')
-rw-r--r--src/test/fuzz/psbt.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/test/fuzz/psbt.cpp b/src/test/fuzz/psbt.cpp
index eb2754054a..e06f9d33bc 100644
--- a/src/test/fuzz/psbt.cpp
+++ b/src/test/fuzz/psbt.cpp
@@ -5,7 +5,7 @@
#include <test/fuzz/fuzz.h>
#include <node/psbt.h>
-#include <optional.h>
+#include <optional>
#include <psbt.h>
#include <pubkey.h>
#include <script/script.h>
@@ -39,7 +39,7 @@ FUZZ_TARGET_INIT(psbt, initialize_psbt)
(void)psbt.IsNull();
- Optional<CMutableTransaction> tx = psbt.tx;
+ std::optional<CMutableTransaction> tx = psbt.tx;
if (tx) {
const CMutableTransaction& mtx = *tx;
const PartiallySignedTransaction psbt_from_tx{mtx};