summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--adenosine/src/repo.rs1
1 files changed, 1 insertions, 0 deletions
diff --git a/adenosine/src/repo.rs b/adenosine/src/repo.rs
index b05a933..7f4f292 100644
--- a/adenosine/src/repo.rs
+++ b/adenosine/src/repo.rs
@@ -278,6 +278,7 @@ impl RepoStore {
new_mst_cid,
)?;
// TODO: is this how signatures are supposed to work?
+ // TODO: no, CID in bytes and sign that?
let sig = signing_key.sign_bytes(new_root_cid.to_string().as_bytes());
self.write_commit(did, new_root_cid, &sig)
}