From 57e980d13ca488031bde6ef197cf34d493d36796 Mon Sep 17 00:00:00 2001 From: fanquake Date: Mon, 15 Mar 2021 10:41:30 +0800 Subject: scripted-diff: remove Optional & nullopt -BEGIN VERIFY SCRIPT- git rm src/optional.h sed -i -e 's/Optional/d' src/test/fuzz/autofile.cpp src/test/fuzz/buffered_file.cpp src/test/fuzz/node_eviction.cpp sed -i -e 's/#include /#include /g' $(git grep -l '#include ' src) -END VERIFY SCRIPT- --- src/psbt.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/psbt.h') diff --git a/src/psbt.h b/src/psbt.h index b566726ee3..319eb48cb0 100644 --- a/src/psbt.h +++ b/src/psbt.h @@ -7,7 +7,7 @@ #include #include -#include +#include #include #include #include @@ -389,7 +389,7 @@ struct PSBTOutput /** A version of CTransaction with the PSBT format*/ struct PartiallySignedTransaction { - Optional tx; + std::optional tx; std::vector inputs; std::vector outputs; std::map, std::vector> unknown; -- cgit v1.2.3