remove unused code

This commit is contained in:
Alfred Kamanda 2024-10-31 14:44:42 +03:00
parent b8bbd88078
commit e6a369dcdd
Signed by: Alfred-mk
GPG Key ID: 7EA3D01708908703

View File

@ -77,10 +77,7 @@ func MatchVoucher(input, symbols, balances, decimals, addresses string) (symbol,
for i, sym := range symList { for i, sym := range symList {
parts := strings.SplitN(sym, ":", 2) parts := strings.SplitN(sym, ":", 2)
if len(parts) != 2 {
continue
}
if input == parts[0] || strings.EqualFold(input, parts[1]) { if input == parts[0] || strings.EqualFold(input, parts[1]) {
symbol = parts[1] symbol = parts[1]
if i < len(balList) { if i < len(balList) {