mirror of
https://github.com/Qortal/altcoinj.git
synced 2025-11-16 20:37:50 +00:00
Delete some 0.5 -> 0.6 migration code from WalletTool.
This commit is contained in:
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user