From 98bbf41d58f798e9cc6c5000867bed0d2f71a490 Mon Sep 17 00:00:00 2001 From: Erdem Badluev Date: Sun, 23 Aug 2026 20:15:41 +0800 Subject: [PATCH 1/2] fix typo in scheduler.hpp --- include/libp2p/basic/scheduler.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/libp2p/basic/scheduler.hpp b/include/libp2p/basic/scheduler.hpp index e0a96b14f..6c7536477 100644 --- a/include/libp2p/basic/scheduler.hpp +++ b/include/libp2p/basic/scheduler.hpp @@ -94,7 +94,7 @@ namespace libp2p::basic { * @param cb callback * @param delay_from_now time interval, zero for deferring * @param make_handle if true, then active Handle is returned - * @return actie or empty Handle, depending on make_handle argument + * @return active or empty Handle, depending on make_handle argument */ virtual Handle scheduleImpl(Callback &&cb, std::chrono::milliseconds delay_from_now, From 3a980a365872435eab3ff0bb980ed56ce1e82d55 Mon Sep 17 00:00:00 2001 From: Erdem Badluev Date: Sun, 23 Aug 2026 21:34:31 +0800 Subject: [PATCH 2/2] fix typo in common/types.hpp --- include/libp2p/common/types.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/libp2p/common/types.hpp b/include/libp2p/common/types.hpp index d083f3ba8..e10a1c21c 100644 --- a/include/libp2p/common/types.hpp +++ b/include/libp2p/common/types.hpp @@ -34,7 +34,7 @@ namespace libp2p { template concept SpanOfBytes = std::is_same_v, BytesIn> - or std::is_same_v, BytesIn>; + or std::is_same_v, BytesOut>; inline bool operator==(const SpanOfBytes auto &lhs, const SpanOfBytes auto &rhs) {