bitcoin/bitcoin — pull request #1939 by sipa (2012-10-21 13:20:56+00:00)
Title: Bugfix: do not mark all future coins spent

This seems to be recently-introduced bug in ultraprune.

@jgarzik, @gmaxwell: can you check whether this fixes the zero-balance issue? You may need to restore from a backup.