aboutsummaryrefslogtreecommitdiffstats
path: root/packages/subproviders/src
diff options
context:
space:
mode:
authorFabio Berger <me@fabioberger.com>2018-03-22 23:53:54 +0800
committerFabio Berger <me@fabioberger.com>2018-03-22 23:53:54 +0800
commitbcb9ee4cc2531660847046c575b9a4e57f82ced7 (patch)
treef007ad83b8a0faeb9a8f1de4ebcec2590b9f5083 /packages/subproviders/src
parent7c874472412126b82a6e302f8dbc5f17baaa8e8f (diff)
downloaddexon-sol-tools-bcb9ee4cc2531660847046c575b9a4e57f82ced7.tar
dexon-sol-tools-bcb9ee4cc2531660847046c575b9a4e57f82ced7.tar.gz
dexon-sol-tools-bcb9ee4cc2531660847046c575b9a4e57f82ced7.tar.bz2
dexon-sol-tools-bcb9ee4cc2531660847046c575b9a4e57f82ced7.tar.lz
dexon-sol-tools-bcb9ee4cc2531660847046c575b9a4e57f82ced7.tar.xz
dexon-sol-tools-bcb9ee4cc2531660847046c575b9a4e57f82ced7.tar.zst
dexon-sol-tools-bcb9ee4cc2531660847046c575b9a4e57f82ced7.zip
Make setEngine public
Diffstat (limited to 'packages/subproviders/src')
-rw-r--r--packages/subproviders/src/subproviders/subprovider.ts6
1 files changed, 3 insertions, 3 deletions
diff --git a/packages/subproviders/src/subproviders/subprovider.ts b/packages/subproviders/src/subproviders/subprovider.ts
index 0b30c6397..4fa351e11 100644
--- a/packages/subproviders/src/subproviders/subprovider.ts
+++ b/packages/subproviders/src/subproviders/subprovider.ts
@@ -46,10 +46,10 @@ export class Subprovider {
}
/**
* Set's the subprovider's engine to the ProviderEngine it is added to.
- * This is only called within the ProviderEngine source code
+ * This is only called within the ProviderEngine source code, do not call
+ * directly.
*/
- // tslint:disable-next-line:underscore-private-and-protected
- private setEngine(engine: any): void {
+ public setEngine(engine: any): void {
this._engine = engine;
}
}