aboutsummaryrefslogtreecommitdiff
path: root/src/qt/walletmodel.cpp
diff options
context:
space:
mode:
authorWladimir J. van der Laan <laanwj@gmail.com>2011-07-11 20:42:10 +0200
committerWladimir J. van der Laan <laanwj@gmail.com>2011-07-11 20:42:10 +0200
commitdf5ccbd2b2c72039f1e0e69fc51957f7c2d6068d (patch)
tree9aaf5b94f95172365a44be8b78eae7b2ba382a27 /src/qt/walletmodel.cpp
parenteee0d2391cb9d2c72d75c9912363392f87c7b976 (diff)
Show unconfirmed balance on overview page
Diffstat (limited to 'src/qt/walletmodel.cpp')
-rw-r--r--src/qt/walletmodel.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/qt/walletmodel.cpp b/src/qt/walletmodel.cpp
index 052bf37e39..3e7152da14 100644
--- a/src/qt/walletmodel.cpp
+++ b/src/qt/walletmodel.cpp
@@ -28,6 +28,11 @@ qint64 WalletModel::getBalance() const
return wallet->GetBalance();
}
+qint64 WalletModel::getUnconfirmedBalance() const
+{
+ return wallet->GetUnconfirmedBalance();
+}
+
int WalletModel::getNumTransactions() const
{
int numTransactions = 0;