deso-protocol / deso-protocol/core

Panic when `node.nodeMessageChan <- lib.NodeErase` message is sent for the first time

Open
#413 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Go
Stars
327
Forks
106
PR merge metrics
No merged PRs in 30d

Description

When the message is sent for the first time using [node.nodeMessageChan <- lib.NodeErase](https://github.com/deso-protocol/core/blob/main/cmd/node.go#L233), it panics. This is because `node.IsRunning` is false when the message was sent. The value is set at a [later point](https://github.com/deso-protocol/core/blob/main/cmd/node.go#L254).

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.