aboutsummaryrefslogtreecommitdiff
path: root/src/qt/clientmodel.cpp
diff options
context:
space:
mode:
authorChris Moore <dooglus@gmail.com>2015-12-28 16:56:53 -0800
committerChris Moore <dooglus@gmail.com>2015-12-28 16:56:53 -0800
commit2409865e14dca0704e5618915d6ef902610d91be (patch)
treefaf29f45833e39c11f836092251acd3e2a5830bd /src/qt/clientmodel.cpp
parentbe9a9a3d2253ceccf123572b97a890c489a5a9be (diff)
Reduce inefficiency of GetAccountAddress()
Don't scan the wallet to see if the current key has been used if we're going to make a new key anyway. Stop scanning the wallet as soon as we see that the current key has been used. Don't call isValid() twice on the current key.
Diffstat (limited to 'src/qt/clientmodel.cpp')
0 files changed, 0 insertions, 0 deletions