Skip to content

Commit

Permalink
fix: Epoch num missing in response conversion (#99)
Browse files Browse the repository at this point in the history
  • Loading branch information
gitferry authored Sep 27, 2024
1 parent 22f9283 commit 39f8e56
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion x/finality/types/finality.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,10 @@ import (
"bytes"
"fmt"

"github.com/babylonlabs-io/babylon/crypto/eots"
"github.com/btcsuite/btcd/btcec/v2"
sdk "github.com/cosmos/cosmos-sdk/types"

"github.com/babylonlabs-io/babylon/crypto/eots"
)

func (c *PubRandCommit) IsInRange(height uint64) bool {
Expand Down Expand Up @@ -36,6 +37,7 @@ func (c *PubRandCommit) ToResponse() *PubRandCommitResponse {
return &PubRandCommitResponse{
NumPubRand: c.NumPubRand,
Commitment: c.Commitment,
EpochNum: c.EpochNum,
}
}

Expand Down

0 comments on commit 39f8e56

Please sign in to comment.