Skip to content

Commit

Permalink
Merge branch 'fix/order-fee-cal' into dev
Browse files Browse the repository at this point in the history
  • Loading branch information
sjatsh committed Jan 27, 2024
2 parents d1fcf39 + 88cb2fb commit 8b00a20
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions txtool/parent_account_payment.go
Original file line number Diff line number Diff line change
Expand Up @@ -144,6 +144,10 @@ func (s *SubAccountTxTool) StatisticsParentAccountPayment(parentAccount string,
recordsNew := make(map[string]map[string]*CsvRecord)
for parentAccId, v := range records {
for tokenId, record := range v {
if record.Amount.LessThanOrEqual(decimal.Zero) {
continue
}

token, err := s.DbDao.GetTokenById(tables.TokenId(tokenId))
if err != nil {
return nil, err
Expand Down

0 comments on commit 8b00a20

Please sign in to comment.