diff options
author | Chris Moore <dooglus@gmail.com> | 2015-12-28 16:56:53 -0800 |
---|---|---|
committer | Chris Moore <dooglus@gmail.com> | 2015-12-28 16:56:53 -0800 |
commit | 2409865e14dca0704e5618915d6ef902610d91be (patch) | |
tree | faf29f45833e39c11f836092251acd3e2a5830bd /src/qt/bitcoin.qrc | |
parent | be9a9a3d2253ceccf123572b97a890c489a5a9be (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/bitcoin.qrc')
0 files changed, 0 insertions, 0 deletions