diff options
| author | Wladimir J. van der Laan <[email protected]> | 2013-08-30 08:25:25 +0200 |
|---|---|---|
| committer | Wladimir J. van der Laan <[email protected]> | 2013-08-30 08:25:25 +0200 |
| commit | 5da998e88715ddd3044f9db52e4afe60d182bc61 (patch) | |
| tree | 5f33c9f0f9612dfac63973dad3540cb03319aa94 /src/qt/addresstablemodel.cpp | |
| parent | Merge pull request #2930 from Diapolo/displayUnit (diff) | |
| download | discoin-5da998e88715ddd3044f9db52e4afe60d182bc61.tar.xz discoin-5da998e88715ddd3044f9db52e4afe60d182bc61.zip | |
qt: Add comment to sorting step in refreshAddressTable
Diffstat (limited to 'src/qt/addresstablemodel.cpp')
| -rw-r--r-- | src/qt/addresstablemodel.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/qt/addresstablemodel.cpp b/src/qt/addresstablemodel.cpp index 03517c657..ef8a001f3 100644 --- a/src/qt/addresstablemodel.cpp +++ b/src/qt/addresstablemodel.cpp @@ -80,6 +80,8 @@ public: } } // qLowerBound() and qUpperBound() require our cachedAddressTable list to be sorted in asc order + // Even though the map is already sorted this re-sorting step is needed because the originating map + // is sorted by binary address, not by base58() address. qSort(cachedAddressTable.begin(), cachedAddressTable.end(), AddressTableEntryLessThan()); } |