Branch: refs/heads/master
Home: https://github.com/btcsuite/btcwallet
Commit: 6ee1f9b7eefc85a004ec12c3a3728254cc12e025
https://github.com/btcsuite/btcwallet/commit/6ee1f9b7eefc85a004ec12c3a3728254cc12e025
Author: cjepson <[email protected]>
Date: 2015-07-22 (Wed, 22 Jul 2015)
Changed paths:
M waddrmgr/manager.go
Log Message:
-----------
Fix retrieval of public key addresses from address manager
The behaviour of function Address() in waddrmgr has been updated such that
it now displays the correct behaviour as described in the comments. That is,
when a public key address is given as a btcutil.Address, the key is converted
to a public key hash address so that serializing with ScriptAddress() yields
the corresponding public key hash. This allows the address manager to find
the corresponding private key, and fixes the signing of multisignature
transactions.