mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-07-23 13:16:42 +00:00
Fix eth/filters: Unsubscription Missing at filter Api With Subscription Error
Fix issue https://github.com/ethereum/go-ethereum/issues/32793
This commit is contained in:
parent
2037c53e7a
commit
e0569ce306
1 changed files with 1 additions and 0 deletions
|
|
@ -152,6 +152,7 @@ func (api *FilterAPI) NewPendingTransactionFilter(fullTx *bool) rpc.ID {
|
|||
api.filtersMu.Lock()
|
||||
delete(api.filters, pendingTxSub.ID)
|
||||
api.filtersMu.Unlock()
|
||||
pendingTxSub.Unsubscribe()
|
||||
return
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue