}
}
public org.bitcoinj.wallet.Protos.Wallet serialize() {
WalletProtobufSerializer serializer = new WalletProtobufSerializer();
return serializer.walletToProto(this);
}
public static PledgingWallet deserialize(org.bitcoinj.wallet.Protos.Wallet proto) throws UnreadableWalletException {
WalletProtobufSerializer serializer = new WalletProtobufSerializer(PledgingWallet::new);
NetworkParameters params = NetworkParameters.fromID(proto.getNetworkIdentifier());