FISCO-BCOS / go-sdk

golang SDK of FISCO BCOS
Apache License 2.0
73 stars 58 forks source link

关于断链之后,无法再次监听到事件 #138

Closed wscaoshuai closed 2 years ago

wscaoshuai commented 2 years ago

在监听调用事件后,一分钟左右没有再次监听调用事件,则会报错“channel Read error:EOF”,导致无法再次链接监听事件。希望解答并支持,谢谢!!!

bxq2011hust commented 2 years ago

https://github.com/FISCO-BCOS/go-sdk/pull/139

我提了一个PR,自测ok之后我会在这里同步

bxq2011hust commented 2 years ago

可以试试dev分支的代码

wscaoshuai commented 2 years ago

Dev分支,我已经测试过了,问题已经得到解决了!感谢!