Delete some 0.5 -> 0.6 migration code from WalletTool.

This commit is contained in:
Mike Hearn
2013-01-12 00:40:27 +01:00
parent b5b43f3a15
commit a6f1233b4e
2 changed files with 0 additions and 13 deletions

View File

@@ -401,11 +401,6 @@ public class WalletProtobufSerializer {
return;
}
confidence.setDepthInBlocks(confidenceProto.getDepth());
} else {
// TEMPORARY CODE FOR MIGRATING 0.5 WALLETS TO 0.6
if (chainHeight != 0 && confidenceProto.hasAppearedAtHeight()) {
confidence.setDepthInBlocks(chainHeight - confidence.getAppearedAtChainHeight() + 1);
}
}
if (confidenceProto.hasWorkDone()) {
if (confidence.getConfidenceType() != ConfidenceType.BUILDING) {