Branch: refs/heads/master
Home: https://github.com/btcsuite/btcwallet
Commit: 79b183988347a8ead0e0aef25f5b9f81348cb555
https://github.com/btcsuite/btcwallet/commit/79b183988347a8ead0e0aef25f5b9f81348cb555
Author: Josh Rickmar <[email protected]>
Date: 2015-01-31 (Sat, 31 Jan 2015)
Changed paths:
M waddrmgr/manager.go
Log Message:
-----------
waddrmgr: Avoid unnecessarily rederiving keys on unlock.
The slice of keys which must have their private extended keys derived
on unlock was never being removed from and all of these keys were
being rederived unnecessarily on every unlock. Fix this by re-slicing
the deriveOnUnlock slice to remove the just derived key if the
derivation was successful.