aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHennadii Stepanov <32963518+hebasto@users.noreply.github.com>2019-11-19 11:56:42 +0200
committerHennadii Stepanov <32963518+hebasto@users.noreply.github.com>2019-11-19 17:05:35 +0200
commit49c4211c0435e3b27c8107a332de22e9cad84390 (patch)
tree23655f59b458c3b5e1e7bd44d9fb80008ea8bfb9
parent567cb44eb95785c8df93a3844207d17f4c390372 (diff)
refactor: Nuke walletmodeltransaction circular dep
-rw-r--r--src/qt/walletmodeltransaction.h2
-rwxr-xr-xtest/lint/lint-circular-dependencies.sh1
2 files changed, 1 insertions, 2 deletions
diff --git a/src/qt/walletmodeltransaction.h b/src/qt/walletmodeltransaction.h
index 73c639d27c..9e5d285e8c 100644
--- a/src/qt/walletmodeltransaction.h
+++ b/src/qt/walletmodeltransaction.h
@@ -5,8 +5,8 @@
#ifndef BITCOIN_QT_WALLETMODELTRANSACTION_H
#define BITCOIN_QT_WALLETMODELTRANSACTION_H
+#include <primitives/transaction.h>
#include <qt/sendcoinsrecipient.h>
-#include <qt/walletmodel.h>
#include <amount.h>
diff --git a/test/lint/lint-circular-dependencies.sh b/test/lint/lint-circular-dependencies.sh
index 3c32b0cbcb..7807953c12 100755
--- a/test/lint/lint-circular-dependencies.sh
+++ b/test/lint/lint-circular-dependencies.sh
@@ -22,7 +22,6 @@ EXPECTED_CIRCULAR_DEPENDENCIES=(
"qt/recentrequeststablemodel -> qt/walletmodel -> qt/recentrequeststablemodel"
"qt/sendcoinsdialog -> qt/walletmodel -> qt/sendcoinsdialog"
"qt/transactiontablemodel -> qt/walletmodel -> qt/transactiontablemodel"
- "qt/walletmodel -> qt/walletmodeltransaction -> qt/walletmodel"
"txmempool -> validation -> txmempool"
"wallet/coincontrol -> wallet/wallet -> wallet/coincontrol"
"wallet/fees -> wallet/wallet -> wallet/fees"