mirror of
https://gitlab.com/pulsechaincom/prysm-pulse.git
synced 2025-01-04 00:44:27 +00:00
sharding: remove .String() from big.Int usage
Former-commit-id: 67861149005f0d5184d4d1c7658796a99db307b6 [formerly 81952e0c4bfd9f4048b6c8feaed9d3189296c467] Former-commit-id: 4b6ba49e85a83a39e82bbab42aeedbdf7521408d
This commit is contained in:
parent
8aa993da5b
commit
3a94b098aa
@ -248,6 +248,6 @@ func dataAvailabilityLookupKey(chunkRoot *common.Hash) common.Hash {
|
||||
// of the shard for ease of use.
|
||||
func canonicalCollationLookupKey(shardID *big.Int, period *big.Int) common.Hash {
|
||||
str := "canonical-collation-lookup:shardID=%s,period=%s"
|
||||
key := fmt.Sprintf(str, shardID.String(), period.String())
|
||||
key := fmt.Sprintf(str, shardID, period)
|
||||
return common.BytesToHash([]byte(key))
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user