diff options
author | Fabio Berger <me@fabioberger.com> | 2018-04-03 13:52:31 +0800 |
---|---|---|
committer | Fabio Berger <me@fabioberger.com> | 2018-04-03 13:52:31 +0800 |
commit | e70b6630f9f7da691e12abb5fe0aeafe66e0b02f (patch) | |
tree | 86fbd88e8ad5e76905c93533560c228c093dea6c | |
parent | 6d53947fd8cc0b5aebe74dbff455d312a32d3c80 (diff) | |
download | dexon-sol-tools-e70b6630f9f7da691e12abb5fe0aeafe66e0b02f.tar dexon-sol-tools-e70b6630f9f7da691e12abb5fe0aeafe66e0b02f.tar.gz dexon-sol-tools-e70b6630f9f7da691e12abb5fe0aeafe66e0b02f.tar.bz2 dexon-sol-tools-e70b6630f9f7da691e12abb5fe0aeafe66e0b02f.tar.lz dexon-sol-tools-e70b6630f9f7da691e12abb5fe0aeafe66e0b02f.tar.xz dexon-sol-tools-e70b6630f9f7da691e12abb5fe0aeafe66e0b02f.tar.zst dexon-sol-tools-e70b6630f9f7da691e12abb5fe0aeafe66e0b02f.zip |
Fix TS error
-rw-r--r-- | packages/subproviders/src/subproviders/subprovider.ts | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/packages/subproviders/src/subproviders/subprovider.ts b/packages/subproviders/src/subproviders/subprovider.ts index 1490d37ba..65f2cd305 100644 --- a/packages/subproviders/src/subproviders/subprovider.ts +++ b/packages/subproviders/src/subproviders/subprovider.ts @@ -40,7 +40,7 @@ export class Subprovider { */ public async emitPayloadAsync(payload: Partial<JSONRPCRequestPayloadWithMethod>): Promise<JSONRPCResponsePayload> { const finalPayload = Subprovider._createFinalPayload(payload); - const response = await promisify(this._engine.sendAsync, this._engine)(finalPayload); + const response: any = await promisify(this._engine.sendAsync, this._engine)(finalPayload); return response; } /** |