Skip to content

Commit

Permalink
ok codacy, you win
Browse files Browse the repository at this point in the history
  • Loading branch information
oscarguindzberg committed Sep 18, 2020
1 parent 646feba commit 83a1e2f
Showing 1 changed file with 3 additions and 2 deletions.
Expand Up @@ -35,6 +35,7 @@
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;
Expand Down Expand Up @@ -217,10 +218,10 @@ public void onTransactionConfidenceChanged(TransactionConfidence confidence) {
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()) {
Expand Down

0 comments on commit 83a1e2f

Please sign in to comment.