Branch: refs/heads/master
  Home:   https://github.com/btcsuite/btcwallet
  Commit: 32ca19322a5db259736eaa9766c0979152ec4d38
      
https://github.com/btcsuite/btcwallet/commit/32ca19322a5db259736eaa9766c0979152ec4d38
  Author: Olaoluwa Osuntokun <laol...@gmail.com>
  Date:   2016-02-06 (Sat, 06 Feb 2016)

  Changed paths:
    M wallet/createtx.go

  Log Message:
  -----------
  Allow spending from the waddrmgr.ImportedAddrAccount via wallet.SpendPairs.

Previously, when creating a change address during the process of
creating a new transaction an error case would be hit in the waddrmgr
triggered by attempting to derive a new internal address from under a
waddrmgr.ImportedAddrAccount. To remedy this error, we now use the
default account for change when spending outputs from an imported
key. This approach allows funds under the control of imported
private keys to be protected under the wallet's seed as soon as
they've been partially spent.


Reply via email to