(t *testing.T, tpl *Template)
| 447 | } |
| 448 | |
| 449 | func sign(t *testing.T, tpl *Template) { |
| 450 | ctx := context.Background() |
| 451 | err := tpl.Sign(ctx, func(_ context.Context, data []byte, _ []byte, path [][]byte) ([]byte, error) { |
| 452 | derived := testutil.TestXPrv.Derive(path) |
| 453 | return derived.Sign(data), nil |
| 454 | }) |
| 455 | if err != nil { |
| 456 | t.Fatal(err) |
| 457 | } |
| 458 | } |
| 459 | |
| 460 | func checkLogTypes(t *testing.T, log []txvm.Tuple, |
| 461 | inputCount, outputCount, retireCount, issueCount, finalizeCount int) { |
no test coverage detected