mirror of
https://github.com/kaspanet/kaspad.git
synced 2025-06-15 18:46:39 +00:00
Remove unreachable statement. ok davec@
This commit is contained in:
parent
b557a33f7c
commit
00b183a8b5
1
chain.go
1
chain.go
@ -132,7 +132,6 @@ func removeChildNode(children []*blockNode, node *blockNode) []*blockNode {
|
|||||||
copy(children[i:], children[i+1:])
|
copy(children[i:], children[i+1:])
|
||||||
children[len(children)-1] = nil
|
children[len(children)-1] = nil
|
||||||
return children[:len(children)-1]
|
return children[:len(children)-1]
|
||||||
i--
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
return children
|
return children
|
||||||
|
Loading…
x
Reference in New Issue
Block a user