reorder struct member to fix alignment on 32 bit

This commit is contained in:
Marius Guggenmos 2024-08-01 13:58:12 +02:00
parent 33dbe85355
commit fb55deed91

View file

@ -237,8 +237,8 @@ type TestAPI struct {
state *atomic.Value state *atomic.Value
peerCount *int64 peerCount *int64
counter int64 counter int64
feed event.Feed
activeSubscriptions int64 activeSubscriptions int64
feed event.Feed
} }
func (t *TestAPI) PeerCount() int64 { func (t *TestAPI) PeerCount() int64 {