diff options
author | Fabio Berger <me@fabioberger.com> | 2018-06-26 05:07:27 +0800 |
---|---|---|
committer | Fabio Berger <me@fabioberger.com> | 2018-06-26 05:07:27 +0800 |
commit | 6bb2203f790923a83f6f0665d47d29a90817b371 (patch) | |
tree | 9c938a87f3e931d852e6788167868d61df7a2a0c /packages/subproviders/src | |
parent | 3d56817da14091a2d966dba5e108a6b104e919e3 (diff) | |
download | dexon-sol-tools-6bb2203f790923a83f6f0665d47d29a90817b371.tar dexon-sol-tools-6bb2203f790923a83f6f0665d47d29a90817b371.tar.gz dexon-sol-tools-6bb2203f790923a83f6f0665d47d29a90817b371.tar.bz2 dexon-sol-tools-6bb2203f790923a83f6f0665d47d29a90817b371.tar.lz dexon-sol-tools-6bb2203f790923a83f6f0665d47d29a90817b371.tar.xz dexon-sol-tools-6bb2203f790923a83f6f0665d47d29a90817b371.tar.zst dexon-sol-tools-6bb2203f790923a83f6f0665d47d29a90817b371.zip |
Small stylistic tweaks
Diffstat (limited to 'packages/subproviders/src')
-rw-r--r-- | packages/subproviders/src/subproviders/eth_lightwallet_subprovider.ts | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/packages/subproviders/src/subproviders/eth_lightwallet_subprovider.ts b/packages/subproviders/src/subproviders/eth_lightwallet_subprovider.ts index a908ab5fc..64d984996 100644 --- a/packages/subproviders/src/subproviders/eth_lightwallet_subprovider.ts +++ b/packages/subproviders/src/subproviders/eth_lightwallet_subprovider.ts @@ -17,14 +17,11 @@ import { BaseWalletSubprovider } from './base_wallet_subprovider'; export class EthLightwalletSubprovider extends BaseWalletSubprovider { private _keystore: lightwallet.keystore; private _pwDerivedKey: Uint8Array; - constructor(keystore: lightwallet.keystore, pwDerivedKey: Uint8Array) { super(); - this._keystore = keystore; this._pwDerivedKey = pwDerivedKey; } - /** * Retrieve the accounts associated with the eth-lightwallet instance. * This method is implicitly called when issuing a `eth_accounts` JSON RPC request @@ -36,7 +33,6 @@ export class EthLightwalletSubprovider extends BaseWalletSubprovider { const accounts = this._keystore.getAddresses(); return accounts; } - /** * Signs a transaction with the account specificed by the `from` field in txParams. * If you've added this Subprovider to your app's provider, you can simply send @@ -58,7 +54,6 @@ export class EthLightwalletSubprovider extends BaseWalletSubprovider { return signedTxHex; } - /** * Sign a personal Ethereum signed message. The signing account will be the account * associated with the provided address. @@ -83,7 +78,6 @@ export class EthLightwalletSubprovider extends BaseWalletSubprovider { ); const signature = lightwallet.signing.concatSig(result); - return signature; } } |