Making the PublicKey class implement the Serializable interface
This commit is contained in:
parent
f59cf1afa0
commit
3d74a612f6
1 changed files with 5 additions and 2 deletions
|
@ -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) {
|
||||
|
|
Loading…
Reference in a new issue