From ebc4ab721b0371c0ef217c0f5bd7d42613e951e6 Mon Sep 17 00:00:00 2001 From: fanquake Date: Mon, 15 Mar 2021 11:59:05 +0800 Subject: refactor: post Optional<> removal cleanups --- src/node/psbt.h | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) (limited to 'src/node/psbt.h') diff --git a/src/node/psbt.h b/src/node/psbt.h index 009e0941e1..def4385c09 100644 --- a/src/node/psbt.h +++ b/src/node/psbt.h @@ -7,6 +7,8 @@ #include +#include + /** * Holds an analysis of one input from a PSBT */ @@ -28,9 +30,9 @@ struct PSBTAnalysis { std::optional estimated_vsize; //!< Estimated weight of the transaction std::optional estimated_feerate; //!< Estimated feerate (fee / weight) of the transaction std::optional fee; //!< Amount of fee being paid by the transaction - std::vector inputs; //!< More information about the individual inputs of the transaction - PSBTRole next; //!< Which of the BIP 174 roles needs to handle the transaction next - std::string error; //!< Error message + std::vector inputs; //!< More information about the individual inputs of the transaction + PSBTRole next; //!< Which of the BIP 174 roles needs to handle the transaction next + std::string error; //!< Error message void SetInvalid(std::string err_msg) { -- cgit v1.2.3