Skip to content

Commit b43f756

Browse files
committed
chg: remove always true expression
1 parent 6e11b7b commit b43f756

File tree

1 file changed

+1
-1
lines changed
  • src/main/java/com/radynamics/CryptoIso20022Interop/iso20022

1 file changed

+1
-1
lines changed

src/main/java/com/radynamics/CryptoIso20022Interop/iso20022/Payment.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -101,7 +101,7 @@ private void refreshTransactionAmount() {
101101
}
102102

103103
if (exchangeRate == null) {
104-
if (ccy.getIssuer() == null && !ccy.equals(cryptoTrx.getAmount().getCcy())) {
104+
if (!ccy.equals(cryptoTrx.getAmount().getCcy())) {
105105
// Use ledger native currency if there is no specific issued currency
106106
cryptoTrx.setAmount(Money.of(0, new Currency(cryptoTrx.getLedger().getNativeCcySymbol())));
107107
} else {

0 commit comments

Comments
 (0)