diff --git a/pom.xml b/pom.xml
index 83249bb..9ed9e96 100644
--- a/pom.xml
+++ b/pom.xml
@@ -15,7 +15,7 @@
io.horizen
sidechains-sdk
- 0.3.0
+ 0.3.1
diff --git a/src/main/java/io/horizen/lambo/car/proof/SellOrderSpendingProof.java b/src/main/java/io/horizen/lambo/car/proof/SellOrderSpendingProof.java
index ebb1283..4c5ce4d 100644
--- a/src/main/java/io/horizen/lambo/car/proof/SellOrderSpendingProof.java
+++ b/src/main/java/io/horizen/lambo/car/proof/SellOrderSpendingProof.java
@@ -18,7 +18,6 @@
public final class SellOrderSpendingProof extends AbstractSignature25519 {
// To distinguish who opened the CarSellOrderBox: seller or buyer
private final boolean isSeller;
- private final byte[] signatureBytes;
public static final int SIGNATURE_LENGTH = Ed25519.signatureLength();
@@ -28,7 +27,6 @@ public SellOrderSpendingProof(byte[] signatureBytes, boolean isSeller) {
throw new IllegalArgumentException(String.format("Incorrect signature length, %d expected, %d found", SIGNATURE_LENGTH,
signatureBytes.length));
this.isSeller = isSeller;
- this.signatureBytes = signatureBytes;
}
public boolean isSeller() {
@@ -51,25 +49,6 @@ public boolean isValid(SellOrderProposition proposition, byte[] message) {
}
}
- @Override
- public byte[] bytes() {
- return Bytes.concat(
- new byte[] { (isSeller ? (byte)1 : (byte)0) },
- signatureBytes
- );
- }
-
- public static SellOrderSpendingProof parseBytes(byte[] bytes) {
- int offset = 0;
-
- boolean isSeller = bytes[offset] != 0;
- offset += 1;
-
- byte[] signatureBytes = Arrays.copyOfRange(bytes, offset, offset + SIGNATURE_LENGTH);
-
- return new SellOrderSpendingProof(signatureBytes, isSeller);
- }
-
@Override
public ProofSerializer serializer() {
return SellOrderSpendingProofSerializer.getSerializer();