MCPcopy Create free account
hub / github.com/DOSNetwork/core / byte32

Function byte32

dosnode/dos_chain_handler.go:375–380  ·  view source on GitHub ↗
(s []byte)

Source from the content-addressed store, hash-verified

373}
374
375func byte32(s []byte) (a *[32]byte) {
376 if len(a) <= len(s) {
377 a = (*[len(a)]byte)(unsafe.Pointer(&s[0]))
378 }
379 return a
380}
381
382func (d *DosNode) handleGroupFormation() {
383 groupSize, err := d.chain.GroupSize()

Callers 1

handleCRMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected