Skip to content

Commit

Permalink
fix alignment for new structs
Browse files Browse the repository at this point in the history
  • Loading branch information
ramin committed Dec 21, 2023
1 parent 56e4807 commit 6bb4018
Showing 1 changed file with 0 additions and 7 deletions.
7 changes: 0 additions & 7 deletions share/p2p/peers/manager.go
Original file line number Diff line number Diff line change
Expand Up @@ -88,19 +88,12 @@ type syncPool struct {
createdAt time.Time
*pool

// headerHeight is the height of header corresponding to syncpool
headerHeight atomic.Uint64

// height is the height of the header that corresponds to datahash
height uint64

// isValidatedDataHash indicates if datahash was validated by receiving corresponding extended
// header from headerSub
isValidatedDataHash atomic.Bool

// isSynced will be true if DoneFunc was called with ResultSynced. It indicates that given datahash
// was synced and peer-manager no longer need to keep peers for it
isSynced atomic.Bool
}

func NewManager(
Expand Down

0 comments on commit 6bb4018

Please sign in to comment.