pool: fix race in async broadcast (#3402)

* pool: better async broadcast

* save

* save
This commit is contained in:
Alex Sharov 2022-02-02 14:57:30 +07:00 committed by GitHub
parent 7e93a08155
commit fc6e5d7e63
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 3 additions and 3 deletions

2
go.mod
View File

@ -38,7 +38,7 @@ require (
github.com/json-iterator/go v1.1.12
github.com/julienschmidt/httprouter v1.3.0
github.com/kevinburke/go-bindata v3.21.0+incompatible
github.com/ledgerwatch/erigon-lib v0.0.0-20220201121643-74d49a9de16c
github.com/ledgerwatch/erigon-lib v0.0.0-20220202071704-ce7ec623a3a9
github.com/ledgerwatch/log/v3 v3.4.0
github.com/ledgerwatch/secp256k1 v1.0.0
github.com/niemeyer/pretty v0.0.0-20200227124842-a10e7caefd8e // indirect

4
go.sum
View File

@ -634,8 +634,8 @@ github.com/kylelemons/godebug v0.0.0-20170224010052-a616ab194758 h1:0D5M2HQSGD3P
github.com/kylelemons/godebug v0.0.0-20170224010052-a616ab194758/go.mod h1:B69LEHPfb2qLo0BaaOLcbitczOKLWTsrBG9LczfCD4k=
github.com/leanovate/gopter v0.2.9 h1:fQjYxZaynp97ozCzfOyOuAGOU4aU/z37zf/tOujFk7c=
github.com/leanovate/gopter v0.2.9/go.mod h1:U2L/78B+KVFIx2VmW6onHJQzXtFb+p5y3y2Sh+Jxxv8=
github.com/ledgerwatch/erigon-lib v0.0.0-20220201121643-74d49a9de16c h1:pMr6YXx8qhfQxB1/ZQaOXGJ9lAjWgBrIrKPzKptL9OU=
github.com/ledgerwatch/erigon-lib v0.0.0-20220201121643-74d49a9de16c/go.mod h1:DSUoxs9bRiDZnC8B0Wc23lDtLlxW8Eur86nLOAGO+iI=
github.com/ledgerwatch/erigon-lib v0.0.0-20220202071704-ce7ec623a3a9 h1:X+/3uKKxg+PeTcGrzzufRxI42io0TnCGTpmgKM7/77M=
github.com/ledgerwatch/erigon-lib v0.0.0-20220202071704-ce7ec623a3a9/go.mod h1:DSUoxs9bRiDZnC8B0Wc23lDtLlxW8Eur86nLOAGO+iI=
github.com/ledgerwatch/log/v3 v3.4.0 h1:SEIOcv5a2zkG3PmoT5jeTU9m/0nEUv0BJS5bzsjwKCI=
github.com/ledgerwatch/log/v3 v3.4.0/go.mod h1:VXcz6Ssn6XEeU92dCMc39/g1F0OYAjw1Mt+dGP5DjXY=
github.com/ledgerwatch/secp256k1 v1.0.0 h1:Usvz87YoTG0uePIV8woOof5cQnLXGYa162rFf3YnwaQ=