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 9a7439b commit fc70c11
Showing 1 changed file with 3 additions and 2 deletions.
Original file line number Diff line number Diff line change
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 fc70c11

Please sign in to comment.