diff options
author | Wladimir J. van der Laan <laanwj@gmail.com> | 2011-07-11 20:42:10 +0200 |
---|---|---|
committer | Wladimir J. van der Laan <laanwj@gmail.com> | 2011-07-11 20:42:10 +0200 |
commit | df5ccbd2b2c72039f1e0e69fc51957f7c2d6068d (patch) | |
tree | 9aaf5b94f95172365a44be8b78eae7b2ba382a27 /src/qt/walletmodel.cpp | |
parent | eee0d2391cb9d2c72d75c9912363392f87c7b976 (diff) |
Show unconfirmed balance on overview page
Diffstat (limited to 'src/qt/walletmodel.cpp')
-rw-r--r-- | src/qt/walletmodel.cpp | 5 |
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; |