(h string)
| 286 | } |
| 287 | |
| 288 | func mustDecodeBlockHex(h string) *Block { |
| 289 | var b Block |
| 290 | err := b.UnmarshalText([]byte(h)) |
| 291 | if err != nil { |
| 292 | panic(err) |
| 293 | } |
| 294 | return &b |
| 295 | } |
| 296 | |
| 297 | func mustDecodeHashPtr(h string) *Hash { |
| 298 | var hash Hash |
no test coverage detected