Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
jiangjinyuan committed May 12, 2023
1 parent 5f5d26d commit 24b4123
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions cmd/checkbalance/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -356,8 +356,10 @@ func getDestCoinList(coin string) []string {
if v == destCoin {
// check coin black list
if common.IsCheckBalanceBannedCoin(k) {
log.Errorf("check balance not support the coin %s, ignore por total balance: %s", k, porCoinTotalBalance[k].String())
continue
if _, exist := porCoinTotalBalance[k]; exist {
log.Errorf("check balance not support the coin %s, ignore por total balance: %s", k, porCoinTotalBalance[k].String())
continue
}
}
coinList = append(coinList, k)
}
Expand Down

0 comments on commit 24b4123

Please sign in to comment.