diff options
author | Felföldi Zsolt <zsfelfoldi@gmail.com> | 2017-10-27 22:18:53 +0800 |
---|---|---|
committer | Péter Szilágyi <peterke@gmail.com> | 2017-10-27 22:18:53 +0800 |
commit | 8d434f6a6f18c5172db9a8216d61cd50b746c964 (patch) | |
tree | 8179e0aa549035e8fdbb176b97f80c476702c21f /core | |
parent | 6dafec06662bbfbf4d36497ff7165fc3c9129e2f (diff) | |
download | go-tangerine-8d434f6a6f18c5172db9a8216d61cd50b746c964.tar.gz go-tangerine-8d434f6a6f18c5172db9a8216d61cd50b746c964.tar.zst go-tangerine-8d434f6a6f18c5172db9a8216d61cd50b746c964.zip |
les, core/bloombits: post-LES/2 fixes (#15391)
* les: fix topic ID
* core/bloombits: fix interface conversion
Diffstat (limited to 'core')
-rw-r--r-- | core/bloombits/matcher.go | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/core/bloombits/matcher.go b/core/bloombits/matcher.go index a75f8c085..d38d4ba83 100644 --- a/core/bloombits/matcher.go +++ b/core/bloombits/matcher.go @@ -534,7 +534,10 @@ func (s *MatcherSession) Close() { // Error returns any failure encountered during the matching session. func (s *MatcherSession) Error() error { - return s.err.Load().(error) + if err := s.err.Load(); err != nil { + return err.(error) + } + return nil } // AllocateRetrieval assigns a bloom bit index to a client process that can either |