···6565 }
66666767 body, err := data.UnmarshalJSON(respBytes)
6868+ if err != nil {
6969+ return err
7070+ }
6871 record, ok := body["value"].(map[string]any)
6972 if !ok {
7073 return fmt.Errorf("fetched record was not an object")
+3-1
atproto/repo/mst/node_insert.go
···6666 }
67676868 // include "covering" proof for this operation
6969- proveMutation(n, key)
6969+ if err := proveMutation(n, key); err != nil {
7070+ return nil, nil, err
7171+ }
70727173 if !split {
7274 // TODO: is this really necessary? or can we just slices.Insert beyond the end of a slice?
+3-1
atproto/repo/mst/node_remove.go
···6161 }
62626363 // marks adjacent child nodes dirty to include as "proof"
6464- proveMutation(n, key)
6464+ if err := proveMutation(n, key); err != nil {
6565+ return nil, nil, err
6666+ }
65676668 // check if top of node is now just a pointer
6769 if top {