We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 5b677a6 + 3b9a723 commit 65645f1Copy full SHA for 65645f1
coreiface/tests/dag.go
@@ -71,7 +71,7 @@ func (tp *TestSuite) TestPutWithHash(t *testing.T) {
71
t.Fatal(err)
72
}
73
74
- nd, err := ipldcbor.FromJSON(strings.NewReader(`"Hello"`), mh.ID, -1)
+ nd, err := ipldcbor.FromJSON(strings.NewReader(`"Hello"`), mh.SHA3_256, -1)
75
if err != nil {
76
77
@@ -81,7 +81,7 @@ func (tp *TestSuite) TestPutWithHash(t *testing.T) {
81
82
83
84
- if nd.Cid().String() != "bafyqabtfjbswy3dp" {
+ if nd.Cid().String() != "bafyrmifu7haikttpqqgc5ewvmp76z3z4ebp7h2ph4memw7dq4nt6btmxny" {
85
t.Errorf("got wrong cid: %s", nd.Cid().String())
86
87
0 commit comments