container: lib_taxes: remove non-alpha char (currency) hack
Now supported within flow impl.
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user