Skip to content
Snippets Groups Projects
Commit 781f8d79 authored by COLLET Ismael's avatar COLLET Ismael
Browse files

Update tipmanager.go

parent 3184be98
No related branches found
No related tags found
No related merge requests found
......@@ -55,7 +55,7 @@ func (t *TipManager) RemoveTip(valueObject *payload.Payload) {
// Tips returns two randomly selected tips.
func (t *TipManager) Tips() (parent1ObjectID, parent2ObjectID payload.ID) {
tip := t.tips.RandomEntry()
if tip == nil {
if true { // Original code : if tip == nil
parent1ObjectID = payload.GenesisID
parent2ObjectID = payload.GenesisID
return
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment