diff --git a/share/shwap/eds_id.go b/share/shwap/eds_id.go index 6c650439d1..dab4aa7ba0 100644 --- a/share/shwap/eds_id.go +++ b/share/shwap/eds_id.go @@ -7,10 +7,11 @@ import ( "io" ) -// EdsIDSize defines the byte size of the EdsID. const ( + // EdsIDSize defines the byte size of the EdsID. EdsIDSize = 8 - EDSName = "eds_v0" + // EDSName is the name identifier for the Extended Data Square. + EDSName = "eds_v0" ) // ErrOutOfBounds is returned whenever an index is out of bounds. diff --git a/share/shwap/p2p/shrex/shrexeds/params.go b/share/shwap/p2p/shrex/shrexeds/params.go index d26385142a..6104da62ed 100644 --- a/share/shwap/p2p/shrex/shrexeds/params.go +++ b/share/shwap/p2p/shrex/shrexeds/params.go @@ -2,10 +2,10 @@ package shrexeds import ( "fmt" - "github.com/celestiaorg/celestia-node/share/shwap" logging "github.com/ipfs/go-log/v2" + "github.com/celestiaorg/celestia-node/share/shwap" "github.com/celestiaorg/celestia-node/share/shwap/p2p/shrex" ) diff --git a/share/shwap/p2p/shrex/shrexnd/params.go b/share/shwap/p2p/shrex/shrexnd/params.go index b03a579064..e8a5a763b4 100644 --- a/share/shwap/p2p/shrex/shrexnd/params.go +++ b/share/shwap/p2p/shrex/shrexnd/params.go @@ -2,10 +2,10 @@ package shrexnd import ( "fmt" - "github.com/celestiaorg/celestia-node/share/shwap" logging "github.com/ipfs/go-log/v2" + "github.com/celestiaorg/celestia-node/share/shwap" "github.com/celestiaorg/celestia-node/share/shwap/p2p/shrex" )