Merge #11259: Remove duplicate destination decoding
commit089b742a210bf2d62f0e473faa70b30c1b06b657
authorWladimir J. van der Laan <laanwj@gmail.com>
Wed, 6 Sep 2017 23:22:01 +0000 (7 01:22 +0200)
committerWladimir J. van der Laan <laanwj@gmail.com>
Wed, 6 Sep 2017 23:22:24 +0000 (7 01:22 +0200)
tree7617b513bcf1bccc965b003050ee1620685535c4
parentbcc8a620eae9cd8fe95f0a02f17183c4a132e5a2
parent86e6dd4b630299eaa778ca241797b24758b6f8a4
Merge #11259: Remove duplicate destination decoding

86e6dd4b6 Remove duplicate destination decoding (João Barbosa)
8d0041e60 Remove unused GetKeyID and IsScript methods from CBitcoinAddress (João Barbosa)

Pull request description:

  Follow up of #11117, this patch removes an extra unnecessary destination decoding that was identified while reviewing #11117. It is also the only case where `IsValidDestinationString` is called before `DecodeDestination`.

  For reference see [comment](https://github.com/bitcoin/bitcoin/pull/11117#discussion_r137145517).

Tree-SHA512: f5ff5cb28a576ccd819a058f102188bde55654f30618520cc680c91d2f6e536fe038fc7220dd2d2dd64c6175fcb23f89b94b48444521e11ddec0b2f8ef2c05dd