Skip to content

Commit bd41efd

Browse files
committed
chore: cleanup
1 parent 7144600 commit bd41efd

File tree

2 files changed

+2
-7
lines changed

2 files changed

+2
-7
lines changed

pkg/assert/assert.go

-5
Original file line numberDiff line numberDiff line change
@@ -16,11 +16,6 @@ import (
1616
"github.com/storacha/go-ucanto/validator"
1717
)
1818

19-
// export const assert = capability({
20-
// can: 'assert/*',
21-
// with: URI.match({ protocol: 'did:' })
22-
// })
23-
2419
type HasMultihash interface {
2520
hasMultihash()
2621
ToIPLD() (datamodel.Node, error)

pkg/assert/datamodel/assert.go

+2-2
Original file line numberDiff line numberDiff line change
@@ -10,12 +10,12 @@ import (
1010
)
1111

1212
//go:embed assert.ipldsch
13-
var assert []byte
13+
var assertSchema []byte
1414

1515
var assertTS *schema.TypeSystem
1616

1717
func init() {
18-
ts, err := ipld.LoadSchemaBytes(assert)
18+
ts, err := ipld.LoadSchemaBytes(assertSchema)
1919
if err != nil {
2020
panic(fmt.Errorf("loading assert schema: %w", err))
2121
}

0 commit comments

Comments
 (0)