diff --git a/core/src/main/java/com/google/bitcoin/store/WalletProtobufSerializer.java b/core/src/main/java/com/google/bitcoin/store/WalletProtobufSerializer.java index 5d30ebf4..a5c9b6e0 100644 --- a/core/src/main/java/com/google/bitcoin/store/WalletProtobufSerializer.java +++ b/core/src/main/java/com/google/bitcoin/store/WalletProtobufSerializer.java @@ -234,17 +234,6 @@ public class WalletProtobufSerializer { return new Sha256Hash(bs.toByteArray()); } - /** - * TEMPORARY API: Used for migrating 0.5 wallets to 0.6 - during deserialization we need to know the chain height - * so the depth field of transaction confidence objects can be filled out correctly. Set this before loading a - * wallet. It's only used for older wallets that lack the data already. - * - * @param chainHeight - */ - public void setChainHeight(int chainHeight) { - this.chainHeight = chainHeight; - } - /** * Parses a wallet from the given stream. The stream is expected to contain a binary serialization of a * {@link Protos.Wallet} object.