xeth: check proper queue for pending transaction filter

This commit is contained in:
obscuren 2015-05-07 17:20:57 +02:00
parent b3c9b66f29
commit 258a7b9a93

View File

@ -504,7 +504,7 @@ func (self *XEth) TransactionFilterChanged(id int) []common.Hash {
self.blockMu.Lock() self.blockMu.Lock()
defer self.blockMu.Unlock() defer self.blockMu.Unlock()
if self.blockQueue[id] != nil { if self.transactionQueue[id] != nil {
return self.transactionQueue[id].get() return self.transactionQueue[id].get()
} }
return nil return nil