node: Fix timestamp bug
We were using seconds when it's supposed to be milliseconds. Oops. We should probably switch this type to `LocalTime` at some point.
This commit is contained in:
parent
269d21deca
commit
3cad39a3a9
|
|
@ -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)],
|
||||
)?;
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue