Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix Panic: Check For Error Before Defer (#482)
## Describe your changes and provide context - Checks for err before `defer` - Without this, if there is a err, the node will panic on the `defer` because `scStore` is `nil` ## Testing performed to validate your change - Verified on node
- Loading branch information