Skip to content

Commit

Permalink
dhtnode: fix small typo in put encrypted log
Browse files Browse the repository at this point in the history
  • Loading branch information
Adrien Béraud committed Mar 24, 2024
1 parent f7e4533 commit c8b5611
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tools/dhtnode.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -449,7 +449,7 @@ void cmd_loop(std::shared_ptr<DhtRunner>& node, dht_params& params
value->user_type = "text/plain";
node->putEncrypted(id, InfoHash(tostr), std::move(value), [start](bool ok) {
auto end = std::chrono::high_resolution_clock::now();
std::cout << "Put encrypted: " << (ok ? "success" : "failure") << " (took " << print_duration(end-start) << std::endl;
std::cout << "Put encrypted: " << (ok ? "success" : "failure") << " (took " << print_duration(end-start) << ')' << std::endl;
});
}
else if (op == "a") {
Expand Down

0 comments on commit c8b5611

Please sign in to comment.