mirror of
https://github.com/status-im/status-mobile.git
synced 2025-02-04 04:45:19 +00:00
[fixes #2908] 0.00 ETH is shown instead of specified amount (with comma) on Send transaction screen after /send command (#3122)
This commit is contained in:
parent
c66c5948a9
commit
c5bea68fdc
@ -77,7 +77,7 @@ function amountParameterBox(groupChat, params, context) {
|
||||
var amountIndex = groupChat ? 1 : 0;
|
||||
|
||||
try {
|
||||
amount = params.args[amountIndex];
|
||||
amount = params.args[amountIndex].replace(",", ".");
|
||||
txData = {
|
||||
to: contactAddress,
|
||||
value: web3.toWei(amount) || 0
|
||||
@ -102,7 +102,6 @@ function amountParameterBox(groupChat, params, context) {
|
||||
});
|
||||
|
||||
} catch (err) {
|
||||
|
||||
status.setDefaultDb({
|
||||
transaction: txData,
|
||||
calculatedFee: "0",
|
||||
|
Loading…
x
Reference in New Issue
Block a user