Branch: refs/heads/master
Home: https://github.com/btcsuite/btcwallet
Commit: 0ae57f2564ea6fe127da501c4d70f43b73bb701e
https://github.com/btcsuite/btcwallet/commit/0ae57f2564ea6fe127da501c4d70f43b73bb701e
Author: Josh Rickmar <[email protected]>
Date: 2015-05-01 (Fri, 01 May 2015)
Changed paths:
M waddrmgr/db.go
Log Message:
-----------
Fix waddrmgr version 4 upgrade path.
If the account number to name index mapped the default account name to
an alias, the upgrade would not succeed and the upgrade would be
aborted (and rolled back).
This became a problem for upgrading old (pre-v3) wallets since the v3
upgrade did not rename the previous "" account to "default", but
instead just created an alias.
Fix tested by @dajohi, who ran into this issue with a wallet upgrade
from an older keystore version.