Skip to content

sync: WaitGroup is reused before previous Wait has returned #17

@liamzebedee

Description

@liamzebedee
2024/07/25 14:57:41 [sync] (downloader) Peer summary table
2024/07/25 14:57:41 [sync] (downloader) Peer #0: jobs=9 success=9 failed=0 avg_duration=318.78 ms rate_per_s=3.14
panic: sync: WaitGroup is reused before previous Wait has returned

goroutine 1747 [running]:
sync.(*WaitGroup).Wait(0x1400036c240)
	/nix/store/n1k6wf8q10q7k0863gb78b1rf0j07r7r-go-1.22.1/share/go/src/sync/waitgroup.go:118 +0xac
github.com/liamzebedee/tinychain-go/core/nakamoto.(*DownloadEngine).Start.func4()
	/Users/liamz/tinychain-go/core/nakamoto/sync_downloader.go:190 +0x28
created by github.com/liamzebedee/tinychain-go/core/nakamoto.(*DownloadEngine).Start in goroutine 1727
	/Users/liamz/tinychain-go/core/nakamoto/sync_downloader.go:189 +0x5b0

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions