diff options
author | Ryan Ofsky <ryan@ofsky.org> | 2023-12-07 17:11:27 -0500 |
---|---|---|
committer | Ryan Ofsky <ryan@ofsky.org> | 2024-05-16 10:16:08 -0500 |
commit | 4d05d3f3b42a41525aa6ec44b90f543dfab53ecf (patch) | |
tree | 91b4256b9154bfb5b8d65ea22b6544a5f1bc8d1f /src/qt/psbtoperationsdialog.cpp | |
parent | 680eafdc74021c1e0893c3a62404e607fd4724f5 (diff) | |
download | bitcoin-4d05d3f3b42a41525aa6ec44b90f543dfab53ecf.tar.xz |
util: add TransactionError includes and namespace declarations
Add TransactionError to node namespace and include it directly instead of
relying on indirect include through common/messages.h
This is a followup to a previous commit which moved the TransactionError enum.
These changes were done in a separate followup just to keep the previous commit
more minimal and easy to review.
Diffstat (limited to 'src/qt/psbtoperationsdialog.cpp')
-rw-r--r-- | src/qt/psbtoperationsdialog.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/qt/psbtoperationsdialog.cpp b/src/qt/psbtoperationsdialog.cpp index 23bb4cc9f0..5a4b4442f3 100644 --- a/src/qt/psbtoperationsdialog.cpp +++ b/src/qt/psbtoperationsdialog.cpp @@ -9,6 +9,7 @@ #include <interfaces/node.h> #include <key_io.h> #include <node/psbt.h> +#include <node/types.h> #include <policy/policy.h> #include <qt/bitcoinunits.h> #include <qt/forms/ui_psbtoperationsdialog.h> @@ -25,6 +26,7 @@ using common::TransactionErrorString; using node::AnalyzePSBT; using node::DEFAULT_MAX_RAW_TX_FEE_RATE; using node::PSBTAnalysis; +using node::TransactionError; PSBTOperationsDialog::PSBTOperationsDialog( QWidget* parent, WalletModel* wallet_model, ClientModel* client_model) : QDialog(parent, GUIUtil::dialog_flags), |