diff options
author | Pieter Wuille <pieter.wuille@gmail.com> | 2016-03-14 18:55:19 +0100 |
---|---|---|
committer | Pieter Wuille <pieter.wuille@gmail.com> | 2016-06-02 15:53:04 +0200 |
commit | 595b22e5c0bf1c3e8ee73aea2f28397c12046a60 (patch) | |
tree | fad3e408c1faaf538e6c21e3db8e237f9ce275f5 /contrib/verify-commits/gpg.sh | |
parent | 7fa8d758598407f3bf0beb0118dc122ea5340736 (diff) |
Stop treating importaddress'ed scripts as change
Before this, if someone imported a scriptPubKey directly (in hex form) using
importaddress, outputs sending to it would be treated as change, as the
corresponding CTxDestination was not added to the address book.
Fix this by trying to detect scriptPubKeys that are in fact convertible to a
CTxDestination and add them anyway. Add a warning to the RPC help to warn
against importing raw non-standard scripts.
Diffstat (limited to 'contrib/verify-commits/gpg.sh')
0 files changed, 0 insertions, 0 deletions