Skip to content

Commit

Permalink
fix: error clearForHopping checking
Browse files Browse the repository at this point in the history
  • Loading branch information
nugaon committed Jun 13, 2024
1 parent 504b385 commit bd0f590
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion pkg/node/node.go
Original file line number Diff line number Diff line change
Expand Up @@ -308,7 +308,9 @@ func NewBee(
}
}

stateStore.ClearForHopping()
if err := stateStore.ClearForHopping(); err != nil {
return nil, fmt.Errorf("clearing stateStore %w", err)
}
}

swarmAddress = newSwarmAddress
Expand Down

0 comments on commit bd0f590

Please sign in to comment.