From 3d74a612f6f00c110e1f5ab878bad14510ecaac8 Mon Sep 17 00:00:00 2001 From: "Nelson R. Perez" Date: Mon, 26 Jun 2017 14:03:39 -0500 Subject: [PATCH] Making the PublicKey class implement the Serializable interface --- .../main/java/de/bitsharesmunich/graphenej/PublicKey.java | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/graphenej/src/main/java/de/bitsharesmunich/graphenej/PublicKey.java b/graphenej/src/main/java/de/bitsharesmunich/graphenej/PublicKey.java index b331c3d..5b9e7eb 100644 --- a/graphenej/src/main/java/de/bitsharesmunich/graphenej/PublicKey.java +++ b/graphenej/src/main/java/de/bitsharesmunich/graphenej/PublicKey.java @@ -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) {