mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-08-17 01:13:45 +00:00
core/bloombits: fix interface conversion
This commit is contained in:
parent
2c77f33745
commit
2d8c1490f2
1 changed files with 4 additions and 1 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in a new issue