bitcoin/bitcoin — pull request #2566 by sipa (2013-04-25 17:36:25+00:00)
Title: Allow the default key to be unavailable

This solves the issue where no default key can be added after -salvagewallet.