Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/chain/txvm
/ mustDecodeHex
Function
mustDecodeHex
protocol/validation/validation_test.go:323–329 ·
view source on GitHub ↗
(str string)
Source
from the content-addressed store, hash-verified
321
}
322
323
func
mustDecodeHex(str string) []byte {
324
decoded, err := hex.DecodeString(str)
325
if
err != nil {
326
panic(err)
327
}
328
return
decoded
329
}
Callers
1
TestBlockSig
Function · 0.70
Calls
no outgoing calls
Tested by
no test coverage detected