From bd0f590104cac2b06e3dc1e84a6a230526b24c37 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Viktor=20Levente=20T=C3=B3th?= Date: Thu, 13 Jun 2024 08:19:32 +0200 Subject: [PATCH] fix: error clearForHopping checking --- pkg/node/node.go | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/pkg/node/node.go b/pkg/node/node.go index f4cfd84fae4..bf05b8f84d5 100644 --- a/pkg/node/node.go +++ b/pkg/node/node.go @@ -308,7 +308,9 @@ func NewBee( } } - stateStore.ClearForHopping() + if err := stateStore.ClearForHopping(); err != nil { + return nil, fmt.Errorf("clearing stateStore %w", err) + } } swarmAddress = newSwarmAddress