Skip to content

Commit

Permalink
undo unwanted changes
Browse files Browse the repository at this point in the history
  • Loading branch information
tsachiherman committed Dec 10, 2024
1 parent d96160e commit 9ea09b4
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions x/dsmr/certificate.go
Original file line number Diff line number Diff line change
Expand Up @@ -50,16 +50,18 @@ 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 {
ChunkReference `serialize:"true"`
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)
Expand Down

0 comments on commit 9ea09b4

Please sign in to comment.