aboutsummaryrefslogtreecommitdiffstats
path: root/packages/subproviders
diff options
context:
space:
mode:
authorfragosti <francesco.agosti93@gmail.com>2018-07-07 01:23:24 +0800
committerfragosti <francesco.agosti93@gmail.com>2018-07-07 01:23:24 +0800
commitacfbba5476d48645eee7f471ecaa4b1142709939 (patch)
tree8e62f46a85c50cf3685d3a02fe63bc56fd3d6028 /packages/subproviders
parent188bf000b784fe6d9e24e3758a30a72a2795bc58 (diff)
downloaddexon-sol-tools-acfbba5476d48645eee7f471ecaa4b1142709939.tar.gz
dexon-sol-tools-acfbba5476d48645eee7f471ecaa4b1142709939.tar.zst
dexon-sol-tools-acfbba5476d48645eee7f471ecaa4b1142709939.zip
Revert moving formatUtils into utils
Diffstat (limited to 'packages/subproviders')
-rw-r--r--packages/subproviders/src/subproviders/signer.ts6
1 files changed, 2 insertions, 4 deletions
diff --git a/packages/subproviders/src/subproviders/signer.ts b/packages/subproviders/src/subproviders/signer.ts
index 1fb613da0..08a9daceb 100644
--- a/packages/subproviders/src/subproviders/signer.ts
+++ b/packages/subproviders/src/subproviders/signer.ts
@@ -1,5 +1,4 @@
-import { Web3Wrapper, marshaller } from '@0xproject/web3-wrapper';
-
+import { Web3Wrapper } from '@0xproject/web3-wrapper';
import { JSONRPCRequestPayload, Provider } from 'ethereum-types';
import { Callback, ErrorCallback } from '../types';
@@ -52,8 +51,7 @@ export class SignerSubprovider extends Subprovider {
case 'eth_sendTransaction':
const [txParams] = payload.params;
try {
- const txData = marshaller.unmarshalTxData(txParams);
- const txHash = await this._web3Wrapper.sendTransactionAsync(txData);
+ const txHash = await this._web3Wrapper.sendTransactionAsync(txParams);
end(null, txHash);
} catch (err) {
end(err);