Fix to send the amount if shapeshift case
This commit is contained in:
parent
176f0c3141
commit
6a8f8ca33b
1 changed files with 2 additions and 1 deletions
|
|
@ -283,6 +283,7 @@ function amountController(configService, $filter, gettextCatalog, $ionicHistory,
|
||||||
unitIndex = tempIndex;
|
unitIndex = tempIndex;
|
||||||
}
|
}
|
||||||
vm.amount = transactionSendableAmountInUnits.toFixed(LENGTH_AFTER_COMMA_EXPRESSION_LIMIT);
|
vm.amount = transactionSendableAmountInUnits.toFixed(LENGTH_AFTER_COMMA_EXPRESSION_LIMIT);
|
||||||
|
useSendMax = true;
|
||||||
finish();
|
finish();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
@ -507,7 +508,7 @@ function amountController(configService, $filter, gettextCatalog, $ionicHistory,
|
||||||
}
|
}
|
||||||
|
|
||||||
var confirmData = {
|
var confirmData = {
|
||||||
amount: useSendMax ? undefined : satoshis,
|
amount: (useSendMax && canSendMax) ? undefined : satoshis,
|
||||||
displayAddress: passthroughParams.displayAddress,
|
displayAddress: passthroughParams.displayAddress,
|
||||||
fromWalletId: passthroughParams.fromWalletId,
|
fromWalletId: passthroughParams.fromWalletId,
|
||||||
sendMax: useSendMax,
|
sendMax: useSendMax,
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue