mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-07-17 10:20:44 +00:00
parent
acd3eb93e8
commit
3fb8b87a87
1 changed files with 1 additions and 0 deletions
|
|
@ -141,6 +141,7 @@ func (api *FilterAPI) NewPendingTransactionFilter() rpc.ID {
|
||||||
api.filtersMu.Lock()
|
api.filtersMu.Lock()
|
||||||
delete(api.filters, pendingTxSub.ID)
|
delete(api.filters, pendingTxSub.ID)
|
||||||
api.filtersMu.Unlock()
|
api.filtersMu.Unlock()
|
||||||
|
pendingTxSub.Unsubscribe()
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue