From 47bd246c7b5512dce4b5d26028b8d43c0fc73b34 Mon Sep 17 00:00:00 2001 From: julian Date: Mon, 29 Aug 2022 17:29:38 -0600 Subject: [PATCH] fix firo double-or-int parse bug --- lib/services/coins/firo/firo_wallet.dart | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/services/coins/firo/firo_wallet.dart b/lib/services/coins/firo/firo_wallet.dart index bcd3ff686..6cc8d9566 100644 --- a/lib/services/coins/firo/firo_wallet.dart +++ b/lib/services/coins/firo/firo_wallet.dart @@ -3819,7 +3819,7 @@ class FiroWallet extends CoinServiceAPI { var sendIndex = 1; if (tx["vout"][0]["value"] != null && - tx["vout"][0]["value"] as int > 0) { + Decimal.parse(tx["vout"][0]["value"].toString()) > Decimal.zero) { sendIndex = 0; } tx["amount"] = tx["vout"][sendIndex]["value"];