aboutsummaryrefslogtreecommitdiff
path: root/src/qt/walletmodel.h
diff options
context:
space:
mode:
authorJonas Schnelli <dev@jonasschnelli.ch>2016-09-09 20:55:59 +0000
committerJonas Schnelli <dev@jonasschnelli.ch>2018-03-26 18:40:12 +0700
commitd49cc70e6d96b45a4c062cbe2fa49a8181c8560f (patch)
treea263709bbca862fbce8e7b48491f144bbc425692 /src/qt/walletmodel.h
parentd558f44c58b61671899d6ef897df271de3f4f20a (diff)
Qt: Add wallet selector to debug console
Diffstat (limited to 'src/qt/walletmodel.h')
-rw-r--r--src/qt/walletmodel.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/qt/walletmodel.h b/src/qt/walletmodel.h
index b0045fa272..02f59d001d 100644
--- a/src/qt/walletmodel.h
+++ b/src/qt/walletmodel.h
@@ -131,6 +131,8 @@ public:
TransactionTableModel *getTransactionTableModel();
RecentRequestsTableModel *getRecentRequestsTableModel();
+ CWallet *getWallet() const { return wallet; };
+
CAmount getBalance(const CCoinControl *coinControl = nullptr) const;
CAmount getUnconfirmedBalance() const;
CAmount getImmatureBalance() const;