From 9ea09b4e310e20506ae69d9cf90f64a21f6dc6b6 Mon Sep 17 00:00:00 2001 From: tsachiherman <24438559+tsachiherman@users.noreply.github.com> Date: Tue, 10 Dec 2024 11:19:12 -0500 Subject: [PATCH] undo unwanted changes --- x/dsmr/certificate.go | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/x/dsmr/certificate.go b/x/dsmr/certificate.go index 6285f749b3..f073756020 100644 --- a/x/dsmr/certificate.go +++ b/x/dsmr/certificate.go @@ -50,7 +50,8 @@ type emapChunkCertificate struct { ChunkCertificate } -func (e emapChunkCertificate) GetID() ids.ID { return e.ChunkID } +func (e emapChunkCertificate) GetID() ids.ID { return e.ChunkID } + func (e emapChunkCertificate) GetExpiry() int64 { return e.Expiry } type ChunkCertificate struct { @@ -58,8 +59,9 @@ type ChunkCertificate struct { Signature *warp.BitSetSignature `serialize:"true"` } -func (c ChunkCertificate) GetChunkID() ids.ID { return c.ChunkID } -func (c ChunkCertificate) GetSlot() int64 { return c.Expiry } +func (c *ChunkCertificate) GetChunkID() ids.ID { return c.ChunkID } + +func (c *ChunkCertificate) GetSlot() int64 { return c.Expiry } func (c *ChunkCertificate) Bytes() []byte { bytes, err := Codec.Marshal(CodecVersion, c)