Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

bugfix/payment requests & deeplinks #1751

Merged
merged 12 commits into from
Aug 6, 2020
3 changes: 1 addition & 2 deletions app/components/Views/SendFlow/Confirm/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -436,7 +436,7 @@ class Confirm extends PureComponent {
contractBalances[address] ? contractBalances[address] : '0',
decimals
)} ${symbol}`;
[transactionTo, , amount] = decodeTransferData('transfer', data);
[transactionTo, amount] = decodeTransferData('transfer', data);
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

we were taking a parsed number from the hex format, now we take the hex number

const transferValue = renderFromTokenMinimalUnit(amount, decimals);
transactionValue = `${transferValue} ${symbol}`;
const exchangeRate = contractExchangeRates[address];
Expand Down Expand Up @@ -905,7 +905,6 @@ class Confirm extends PureComponent {
transactionConfirmed,
paymentChannelBalance
} = this.state;

return (
<SafeAreaView style={styles.wrapper} testID={'txn-confirm-screen'}>
<View style={styles.inputWrapper}>
Expand Down