Don't show gas calculations in send funds review

This commit is contained in:
Mikhail Mikheev 2019-10-08 13:20:44 +04:00
parent 387ea01d5e
commit d6cce5e446
1 changed files with 0 additions and 4 deletions

View File

@ -79,7 +79,6 @@ const ReviewTx = ({
} }
const estimatedGasCosts = await estimateApprovalTxGasCosts(safeAddress, txRecipient, txData) const estimatedGasCosts = await estimateApprovalTxGasCosts(safeAddress, txRecipient, txData)
console.log({ estimatedGasCosts })
const gasCostsAsEth = fromWei(toBN(estimatedGasCosts), 'ether') const gasCostsAsEth = fromWei(toBN(estimatedGasCosts), 'ether')
const roundedGasCosts = parseFloat(gasCostsAsEth).toFixed(3) const roundedGasCosts = parseFloat(gasCostsAsEth).toFixed(3)
if (isCurrent) { if (isCurrent) {
@ -180,9 +179,6 @@ const ReviewTx = ({
</Paragraph> </Paragraph>
</Row> </Row>
</Block> </Block>
<Row>
<Paragraph>{`Gas costs: ${gasCosts}`}</Paragraph>
</Row>
<Hairline style={{ position: 'absolute', bottom: 85 }} /> <Hairline style={{ position: 'absolute', bottom: 85 }} />
<Row align="center" className={classes.buttonRow}> <Row align="center" className={classes.buttonRow}>
<Button minWidth={140} onClick={() => setActiveScreen('sendFunds')}> <Button minWidth={140} onClick={() => setActiveScreen('sendFunds')}>