Skip to content

Commit

Permalink
chore: change to faketime
Browse files Browse the repository at this point in the history
  • Loading branch information
driftluo committed Jan 17, 2023
1 parent 1bc0a89 commit a6aa23c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion network/src/peer_store/peer_store_impl.rs
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@ impl PeerStore {
return;
}
if let Some(info) = self.addr_manager.get_mut(&addr) {
info.last_connected_at_ms = ckb_systemtime::unix_time_as_millis()
info.last_connected_at_ms = faketime::unix_time_as_millis()
}
}

Expand Down

0 comments on commit a6aa23c

Please sign in to comment.