From 42d4a5c234f0fbb21827c388ef3a609e8a342e0d Mon Sep 17 00:00:00 2001 From: Dmitriy Ryajov Date: Fri, 16 Feb 2024 15:52:12 -0600 Subject: [PATCH] use push raises --- codex/stores/networkstore.nim | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/codex/stores/networkstore.nim b/codex/stores/networkstore.nim index c035f5bd..39835e23 100644 --- a/codex/stores/networkstore.nim +++ b/codex/stores/networkstore.nim @@ -8,8 +8,7 @@ ## those terms. -import pkg/upraises -push: {.upraises: [].} +{.push raises: [].} import pkg/chronos import pkg/libp2p @@ -169,6 +168,4 @@ proc new*( ): NetworkStore = ## Create new instance of a NetworkStore ## - NetworkStore( - localStore: localStore, - engine: engine) + NetworkStore(localStore: localStore, engine: engine)