diff options
author | Fabio Berger <me@fabioberger.com> | 2018-03-22 23:53:54 +0800 |
---|---|---|
committer | Fabio Berger <me@fabioberger.com> | 2018-03-22 23:53:54 +0800 |
commit | bcb9ee4cc2531660847046c575b9a4e57f82ced7 (patch) | |
tree | f007ad83b8a0faeb9a8f1de4ebcec2590b9f5083 /packages/subproviders | |
parent | 7c874472412126b82a6e302f8dbc5f17baaa8e8f (diff) | |
download | dexon-sol-tools-bcb9ee4cc2531660847046c575b9a4e57f82ced7.tar.gz dexon-sol-tools-bcb9ee4cc2531660847046c575b9a4e57f82ced7.tar.zst dexon-sol-tools-bcb9ee4cc2531660847046c575b9a4e57f82ced7.zip |
Make setEngine public
Diffstat (limited to 'packages/subproviders')
-rw-r--r-- | packages/subproviders/src/subproviders/subprovider.ts | 6 |
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; } } |