8926cbe368
Spotted in CircleCI build with Go 1.12: WARNING: DATA RACE Write at 0x00c00011095c by goroutine 88: sync/atomic.SwapInt32() /usr/local/go/src/runtime/race_amd64.s:249 +0xb github.com/CityOfZion/neo-go/pkg/core.(*Blockchain).persist() /go/src/github.com/CityOfZion/neo-go/pkg/core/blockchain.go:483 +0x172 github.com/CityOfZion/neo-go/pkg/core.(*Blockchain).Run.func2() /go/src/github.com/CityOfZion/neo-go/pkg/core/blockchain.go:191 +0x50 Previous read at 0x00c00011095c by goroutine 64: github.com/CityOfZion/neo-go/pkg/core.(*Blockchain).persist() /go/src/github.com/CityOfZion/neo-go/pkg/core/blockchain.go:492 +0x4be github.com/CityOfZion/neo-go/pkg/core.(*Blockchain).Run.func2() /go/src/github.com/CityOfZion/neo-go/pkg/core/blockchain.go:191 +0x50 Goroutine 88 (running) created at: github.com/CityOfZion/neo-go/pkg/core.(*Blockchain).Run() /go/src/github.com/CityOfZion/neo-go/pkg/core/blockchain.go:190 +0x264 Goroutine 64 (finished) created at: github.com/CityOfZion/neo-go/pkg/core.(*Blockchain).Run() /go/src/github.com/CityOfZion/neo-go/pkg/core/blockchain.go:190 +0x264 |
||
---|---|---|
.. | ||
core | ||
crypto | ||
internal/keytestcases | ||
interop | ||
io | ||
network | ||
rpc | ||
smartcontract | ||
util | ||
vm | ||
wallet |