Skip to content

Commit

Permalink
Fix error message
Browse files Browse the repository at this point in the history
  • Loading branch information
ezdac committed Dec 10, 2024
1 parent cb76e4a commit a59c67f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion common/exchange/rates.go
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ func ConvertCurrencyToCelo(exchangeRates common.ExchangeRates, feeCurrency *comm
return currencyAmount, nil
}
if currencyAmount == nil {
return nil, fmt.Errorf("Can't convert nil amount to CELO.")
return nil, fmt.Errorf("could not convert nil amount to CELO")
}
exchangeRate, ok := exchangeRates[*feeCurrency]
if !ok {
Expand Down

0 comments on commit a59c67f

Please sign in to comment.