Skip to content

Commit

Permalink
remove unpublished chain from IPC list
Browse files Browse the repository at this point in the history
  • Loading branch information
Dan Laine committed Jan 21, 2021
1 parent 130bf06 commit 0d1d06a
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions ipcs/chainipc.go
Original file line number Diff line number Diff line change
Expand Up @@ -82,6 +82,7 @@ func (cipcs *ChainIPCs) Unpublish(chainID ids.ID) (bool, error) {
if !ok {
return false, nil
}
delete(cipcs.chains, chainID)
return true, chainIPCs.stop()
}

Expand Down

0 comments on commit 0d1d06a

Please sign in to comment.