3
0
mirror of https://github.com/Qortal/altcoinj.git synced 2025-01-30 23:02:15 +00:00

Delete a dead method from WalletProtobufSerializer.

This commit is contained in:
Mike Hearn 2013-02-04 15:11:07 +01:00
parent 586f961b1b
commit 8c488a1687

View File

@ -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.<p>