mirror of
https://github.com/trezor/trezor-wallet
synced 2024-12-25 00:18:07 +00:00
remove comment
This commit is contained in:
parent
5995568e19
commit
4da23c1db2
@ -30,7 +30,7 @@ type EthereumTxRequest = {
|
||||
export const prepareEthereumTx = (tx: EthereumTxRequest): PromiseAction<EthereumTransaction> => async (dispatch: Dispatch): Promise<EthereumTransaction> => {
|
||||
const instance = await dispatch(initWeb3(tx.network));
|
||||
const { token } = tx;
|
||||
let data: string = ethUtils.sanitizeHex(tx.data); // TODO: check if already prefixed
|
||||
let data: string = ethUtils.sanitizeHex(tx.data);
|
||||
let value: string = toHex(EthereumjsUnits.convert(tx.amount, 'ether', 'wei'));
|
||||
let to: string = tx.to; // eslint-disable-line prefer-destructuring
|
||||
if (token) {
|
||||
|
Loading…
Reference in New Issue
Block a user