diff options
author | Russell Yanofsky <russ@yanofsky.org> | 2019-11-05 10:36:55 -0500 |
---|---|---|
committer | Russell Yanofsky <russ@yanofsky.org> | 2019-11-05 10:36:55 -0500 |
commit | 4a0abf694ee10cf186f25a67ca35c3fce0c10874 (patch) | |
tree | 77edda9a457ead323d39c165030c6a0ff94d13a4 /src/qt/askpassphrasedialog.h | |
parent | b07b07cd8779355ba1dd16e7eb4af42e0ae1c587 (diff) |
Pass CTxDestination to ScriptPubKeyMan::GetMetadata
Pass CTxDestination instead of more ambiguous uint160 hash value. This is more
type safe and more efficient since it avoids doing map lookups that will always
fail and were not done previously before
a18edd7b383d667b15b6d4b87aa3a055a9fa5051 from
https://github.com/bitcoin/bitcoin/pull/17304
Change suggested by Andrew Chow <achow101-github@achow101.com> in
https://github.com/bitcoin/bitcoin/pull/17304#discussion_r340345745 and
https://github.com/bitcoin/bitcoin/pull/17381#issuecomment-549994944
Diffstat (limited to 'src/qt/askpassphrasedialog.h')
0 files changed, 0 insertions, 0 deletions