From 731f9206f8f89c387016b806f89cda79dd41eb9d Mon Sep 17 00:00:00 2001 From: Aaron Fiore Date: Mon, 4 Aug 2025 19:37:08 -0700 Subject: [PATCH] container: lib_taxes: remove non-alpha char (currency) hack Now supported within flow impl. --- container/src/finance/lib/internal/lib_taxes.bash | 6 ------ 1 file changed, 6 deletions(-) diff --git a/container/src/finance/lib/internal/lib_taxes.bash b/container/src/finance/lib/internal/lib_taxes.bash index 502abcd..bb6a3c6 100644 --- a/container/src/finance/lib/internal/lib_taxes.bash +++ b/container/src/finance/lib/internal/lib_taxes.bash @@ -469,8 +469,6 @@ function lib_taxes::__taxes_print() if (Symbol == "$") {Symbol="USD"} if (Currency == "" || Currency == "$") {Currency="USD"} if (FeeCurrency == "$") {FeeCurrency="USD"} - if ((Symbol == "ONEINCH") || (Currency == "ONEINCH") || (FeeCurrency == "ONEINCH")) {Symbol="1INCH"} - if ((Symbol == "LUNATWO") || (Currency == "LUNATWO") || (FeeCurrency == "LUNATWO")) {Symbol="LUNA2"} # Remove negative values sub(/-/, "", Volume); sub(/-/, "", Total) @@ -690,8 +688,6 @@ function lib_taxes::__taxes_print() if (Symbol == "$") {Symbol="USD"} if (Currency == "" || Currency == "$") {Currency="USD"} if (FeeCurrency == "$") {FeeCurrency="USD"} - if ((Symbol == "ONEINCH") || (Currency == "ONEINCH") || (FeeCurrency == "ONEINCH")) {Symbol="1INCH"} - if ((Symbol == "LUNATWO") || (Currency == "LUNATWO") || (FeeCurrency == "LUNATWO")) {Symbol="LUNA2"} # Remove negative values sub(/-/, "", Volume); sub(/-/, "", Total); sub(/-/, "", Fee) @@ -911,8 +907,6 @@ function lib_taxes::__taxes_print() if (Symbol == "$") {Symbol="USD"} if (Currency == "" || Currency == "$") {Currency="USD"} if (FeeCurrency == "$") {FeeCurrency="USD"} - if ((Symbol == "ONEINCH") || (Currency == "ONEINCH") || (FeeCurrency == "ONEINCH")) {Symbol="1INCH"} - if ((Symbol == "LUNATWO") || (Currency == "LUNATWO") || (FeeCurrency == "LUNATWO")) {Symbol="LUNA2"} # Remove negative values sub(/-/, "", Volume); sub(/-/, "", Total); sub(/-/, "", Fee)