Fix small amounts from being conflated with zero

Something like 0.000000000012 was converted to 1.2e-11
by the conversion to double, and that was rejected by
the Cryptonote parser.
This commit is contained in:
moneromooo.monero 2016-11-06 12:33:17 +00:00
parent 68736ab834
commit 12f2a2b6e0
3 changed files with 3 additions and 3 deletions

View file

@ -46,7 +46,7 @@ Rectangle {
property alias balanceText : balanceText.text;
property alias unlockedBalanceText : availableBalanceText.text;
// repeating signal to the outside world
signal paymentClicked(string address, string paymentId, double amount, int mixinCount,
signal paymentClicked(string address, string paymentId, string amount, int mixinCount,
int priority, string description)
Connections {

View file

@ -50,7 +50,7 @@ Rectangle {
property Settings settingsView: Settings { }
signal paymentClicked(string address, string paymentId, double amount, int mixinCount, int priority, string description)
signal paymentClicked(string address, string paymentId, string amount, int mixinCount, int priority, string description)
signal generatePaymentIdInvoked()
signal checkPaymentClicked(string address, string txid, string txkey);

View file

@ -33,7 +33,7 @@ import "../components"
Rectangle {
id: root
signal paymentClicked(string address, string paymentId, double amount, int mixinCount,
signal paymentClicked(string address, string paymentId, string amount, int mixinCount,
int priority, string description)
color: "#F0EEEE"