From 466b57a536b5d3ac943bb68a3d9d01da56627820 Mon Sep 17 00:00:00 2001 From: Anthony Laibe <491074+alaibe@users.noreply.github.com> Date: Wed, 25 Oct 2023 10:36:55 +0200 Subject: [PATCH] fix(@wallet): sending big number fixes #12497 --- ui/imports/shared/stores/send/TransactionStore.qml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/ui/imports/shared/stores/send/TransactionStore.qml b/ui/imports/shared/stores/send/TransactionStore.qml index ea5206f592..b5fbdef112 100644 --- a/ui/imports/shared/stores/send/TransactionStore.qml +++ b/ui/imports/shared/stores/send/TransactionStore.qml @@ -61,7 +61,8 @@ QtObject { } function suggestedRoutes(amount) { - walletSectionSendInst.suggestedRoutes(amount) + const value = AmountsArithmetic.fromNumber(amount) + walletSectionSendInst.suggestedRoutes(value.toFixed()) } function resolveENS(value) {