ok codacy, you win

This commit is contained in:
Oscar Guindzberg 2020-09-18 15:24:26 -03:00
parent 9a7439bef7
commit fc70c11573
No known key found for this signature in database
GPG Key ID: 209796BF2E1D4F75

View File

@ -35,6 +35,7 @@ import bisq.core.trade.Trade;
import bisq.core.util.coin.CoinFormatter;
import org.bitcoinj.core.Coin;
import org.bitcoinj.core.Sha256Hash;
import org.bitcoinj.core.Transaction;
import org.bitcoinj.core.TransactionConfidence;
import org.bitcoinj.core.TransactionOutput;
@ -217,10 +218,10 @@ class TransactionsListItem {
if (offerFeePaymentTxID != null && offerFeePaymentTxID.equals(txId)) {
details = Res.get("funds.tx.createOfferFee", tradeId);
} else if (trade.getDepositTx() != null &&
trade.getDepositTx().getTxId().toString().equals(txId)) {
trade.getDepositTx().getTxId().equals(Sha256Hash.wrap(txId))) {
details = Res.get("funds.tx.multiSigDeposit", tradeId);
} else if (trade.getPayoutTx() != null &&
trade.getPayoutTx().getTxId().toString().equals(txId)) {
trade.getPayoutTx().getTxId().equals(Sha256Hash.wrap(txId))) {
details = Res.get("funds.tx.multiSigPayout", tradeId);
if (amountAsCoin.isZero()) {