Skip to content
This repository was archived by the owner on Dec 10, 2022. It is now read-only.

Commit 09287aa

Browse files
committed
feat(node): update tox core
1 parent 78ad43a commit 09287aa

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

Cargo.lock

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/main.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -276,7 +276,7 @@ fn run_udp(config: &NodeConfig, dht_pk: PublicKey, dht_sk: &SecretKey, udp_onion
276276
}
277277

278278
fn main() {
279-
if !crypto_init() {
279+
if crypto_init().is_err() {
280280
panic!("Crypto initialization failed.");
281281
}
282282

0 commit comments

Comments
 (0)