diff options
author | Hennadii Stepanov <32963518+hebasto@users.noreply.github.com> | 2019-11-19 12:08:01 +0200 |
---|---|---|
committer | Hennadii Stepanov <32963518+hebasto@users.noreply.github.com> | 2019-11-19 17:05:35 +0200 |
commit | a53e9895db7617c879858ca27e38e6aaf35f6075 (patch) | |
tree | f5680d13d73889e873934c7041add7266a8824bd /src/qt | |
parent | 49c4211c0435e3b27c8107a332de22e9cad84390 (diff) |
refactor: Nuke walletmodel circular dependency
Diffstat (limited to 'src/qt')
-rw-r--r-- | src/qt/paymentserver.h | 5 | ||||
-rw-r--r-- | src/qt/transactiondesc.cpp | 5 |
2 files changed, 7 insertions, 3 deletions
diff --git a/src/qt/paymentserver.h b/src/qt/paymentserver.h index f4cb995e4a..6d4ce4a7e4 100644 --- a/src/qt/paymentserver.h +++ b/src/qt/paymentserver.h @@ -37,13 +37,16 @@ #endif #include <qt/sendcoinsrecipient.h> -#include <qt/walletmodel.h> #include <QObject> #include <QString> class OptionsModel; +namespace interfaces { +class Node; +} // namespace interfaces + QT_BEGIN_NAMESPACE class QApplication; class QByteArray; diff --git a/src/qt/transactiondesc.cpp b/src/qt/transactiondesc.cpp index 318b0756c7..9a93798aef 100644 --- a/src/qt/transactiondesc.cpp +++ b/src/qt/transactiondesc.cpp @@ -15,11 +15,12 @@ #include <consensus/consensus.h> #include <interfaces/node.h> +#include <interfaces/wallet.h> #include <key_io.h> -#include <validation.h> +#include <policy/policy.h> #include <script/script.h> #include <util/system.h> -#include <policy/policy.h> +#include <validation.h> #include <wallet/ismine.h> #include <stdint.h> |