diff --git a/packages/contracts/src.ts/index.ts b/packages/contracts/src.ts/index.ts index 89c86c5f1e..0d82660fcd 100644 --- a/packages/contracts/src.ts/index.ts +++ b/packages/contracts/src.ts/index.ts @@ -917,7 +917,7 @@ export class BaseContract { // If we have a poller for this, remove it const emit = this._wrappedEmits[runningEvent.tag]; - if (emit) { + if (emit && runningEvent.filter) { this.provider.off(runningEvent.filter, emit); delete this._wrappedEmits[runningEvent.tag]; }