diff options
| author | Wladimir J. van der Laan <[email protected]> | 2011-07-11 20:42:10 +0200 |
|---|---|---|
| committer | Wladimir J. van der Laan <[email protected]> | 2011-07-11 20:42:10 +0200 |
| commit | df5ccbd2b2c72039f1e0e69fc51957f7c2d6068d (patch) | |
| tree | 9aaf5b94f95172365a44be8b78eae7b2ba382a27 /src/qt/walletmodel.cpp | |
| parent | Make tooltip on refresh more clear (diff) | |
| download | discoin-df5ccbd2b2c72039f1e0e69fc51957f7c2d6068d.tar.xz discoin-df5ccbd2b2c72039f1e0e69fc51957f7c2d6068d.zip | |
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 052bf37e3..3e7152da1 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; |