fix: var name

This commit is contained in:
Richard Ramos 2020-01-20 16:08:47 -04:00
parent f7868aa75f
commit b4905fbb49

View File

@ -29,7 +29,7 @@ export default class Subspace {
this.latestBlockNumber = undefined;
this.disableDatabase = options.disableDatabase;
this.networkId = undefined;
this.isWebsocketProvider = options.usePolling ? false : !!provider.on;
this.isWebsocketProvider = options.disableSubscriptions ? false : !!provider.on;
this.newBlocksSubscription = null;
this.intervalTracker = null;