Skip to content

Commit

Permalink
Properly initialize PruningPointProof in consensus.go.
Browse files Browse the repository at this point in the history
  • Loading branch information
stasatdaglabs committed Sep 5, 2021
1 parent 59a34c4 commit 9391574
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion domain/consensus/consensus.go
Original file line number Diff line number Diff line change
Expand Up @@ -728,7 +728,8 @@ func (s *consensus) BuildPruningPointProof() (*externalapi.PruningPointProof, er
defer s.lock.Unlock()

return &externalapi.PruningPointProof{
Headers: []externalapi.BlockHeader{},
Headers: []externalapi.BlockHeader{},
PruningPointBlueWork: big.NewInt(0),
}, nil
}

Expand Down

0 comments on commit 9391574

Please sign in to comment.