MCPcopy Create free account
hub / github.com/akash-network/node / decodeIDQueueKey

Function decodeIDQueueKey

x/verification/keeper/queue.go:81–86  ·  view source on GitHub ↗
(key []byte)

Source from the content-addressed store, hash-verified

79}
80
81func decodeIDQueueKey(key []byte) (uint64, error) {
82 if len(key) != 16 {
83 return 0, errorsmod.Wrap(moduletypes.ErrInvalidReason, "malformed id queue key")
84 }
85 return readID(key[8:]), nil
86}

Calls 1

readIDFunction · 0.85

Tested by

no test coverage detected