Making the PublicKey class implement the Serializable interface

master
Nelson R. Perez 2017-06-26 14:03:39 -05:00
parent f59cf1afa0
commit 3d74a612f6
1 changed files with 5 additions and 2 deletions

View File

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