Bitcoin Core 30.2 Fixes Dangerous Legacy-Wallet Migration Failure
Bitcoin Core 30.2 repaired wallet-migration bugs including a failure path that could accidentally delete the wallets directory when migrating an unnamed legacy wallet.
Bitcoin Core 30.2 was released on January 13, 2026 as a maintenance update, but one of its wallet fixes carried unusually serious user consequences. The release notes list a fix for failure when migrating an unnamed legacy wallet and another wallet-tool fix for a condition that could delete the wallets directory during a failed create-from-dump operation.
Bitcoin Optech highlighted the risk in practical terms: the entire wallets directory could be accidentally deleted during migration of an unnamed legacy wallet. That made 30.2 more than a routine version increment. It addressed a failure mode at the boundary between older wallet formats and newer migration tooling, where an attempted upgrade could endanger locally stored wallet data.
The event is best preserved as a categorical security entry rather than a broad protocol milestone. It did not change Bitcoin consensus, but it corrected a potentially destructive failure in the software many users rely on to hold and manage Bitcoin directly.