Radish alpha
h
Radicle Heartwood Protocol & Stack
Radicle
Git (anonymous pull)
Log in to clone via SSH
node: Fix timestamp bug
cloudhead committed 2 years ago
commit 3cad39a3a95c73c84b4e00dfdeb7b9220143eb39
parent 269d21deca0f97d9468205074d4ee2ed17148818
1 file changed +2 -2
modified radicle-node/src/runtime.rs
@@ -186,7 +186,7 @@ impl Runtime {
            );
            ann
        } else {
-
            service::gossip::node(&config, clock.as_secs())
+
            service::gossip::node(&config, clock.as_millis())
                .solve(Default::default())
                .expect("Runtime::init: unable to solve proof-of-work puzzle")
        };
@@ -202,7 +202,7 @@ impl Runtime {
                    radicle::node::Features::SEED,
                    alias,
                    0,
-
                    clock.as_secs(),
+
                    clock.as_millis(),
                    [node::KnownAddress::new(addr, address::Source::Bootstrap)],
                )?;
            }