Radish alpha
h
Radicle Heartwood Protocol & Stack
Radicle
Git (anonymous pull)
Log in to clone via SSH
radicle: Don't update sync status redundantly
cloudhead committed 2 years ago
commit 38a76a42deed6cb98a4c8ccf7874b4adca3e6b07
parent 9f4227d37861621eca6fd102f64bd7c3f33de117
1 file changed +1 -1
modified radicle/src/node/seed/store.rs
@@ -59,7 +59,7 @@ impl Store for Database {
             VALUES (?1, ?2, ?3, ?4)
             ON CONFLICT DO UPDATE
             SET head = ?3, timestamp = ?4
-
             WHERE timestamp < ?4",
+
             WHERE timestamp < ?4 AND head <> ?3",
        )?;
        stmt.bind((1, rid))?;
        stmt.bind((2, nid))?;