Making the PublicKey class implement the Serializable interface

This commit is contained in:
Nelson R. Perez 2017-06-26 14:03:39 -05:00
parent f59cf1afa0
commit 3d74a612f6

View file

@ -1,13 +1,16 @@
package de.bitsharesmunich.graphenej; package de.bitsharesmunich.graphenej;
import de.bitsharesmunich.graphenej.interfaces.ByteSerializable;
import org.bitcoinj.core.ECKey; import org.bitcoinj.core.ECKey;
import org.spongycastle.math.ec.ECPoint; import org.spongycastle.math.ec.ECPoint;
import java.io.Serializable;
import de.bitsharesmunich.graphenej.interfaces.ByteSerializable;
/** /**
* Created by nelson on 11/30/16. * Created by nelson on 11/30/16.
*/ */
public class PublicKey implements ByteSerializable { public class PublicKey implements ByteSerializable, Serializable {
private ECKey publicKey; private ECKey publicKey;
public PublicKey(ECKey key) { public PublicKey(ECKey key) {