diff options
author | Wladimir J. van der Laan <laanwj@gmail.com> | 2013-08-29 16:19:43 +0200 |
---|---|---|
committer | Wladimir J. van der Laan <laanwj@gmail.com> | 2013-08-29 16:25:51 +0200 |
commit | dcd0b0775ef63ac9e067d9eb67012332f1a72bd7 (patch) | |
tree | 1c2b2b4b82d29a63b8ae8174840d1b381d95a62f /src/qt/walletmodel.h | |
parent | ff33a3470dd1d1446549d02609c991c0490e0fdf (diff) |
qt: Handle address purpose in incremental updates
Correctly use the purpose of addresses that are added after the start
of the client. Addresses with purpose "refund" and "change" should not
be visible in the GUI. This is now handled correctly.
Diffstat (limited to 'src/qt/walletmodel.h')
-rw-r--r-- | src/qt/walletmodel.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/qt/walletmodel.h b/src/qt/walletmodel.h index 8cba10f5d2..ff7ded7b42 100644 --- a/src/qt/walletmodel.h +++ b/src/qt/walletmodel.h @@ -165,7 +165,7 @@ public slots: /* New transaction, or transaction changed status */ void updateTransaction(const QString &hash, int status); /* New, updated or removed address book entry */ - void updateAddressBook(const QString &address, const QString &label, bool isMine, int status); + void updateAddressBook(const QString &address, const QString &label, bool isMine, const QString &purpose, int status); /* Current, immature or unconfirmed balance might have changed - emit 'balanceChanged' if so */ void pollBalanceChanged(); }; |