Rename txID to txId

This commit is contained in:
chimp1984 2021-10-19 23:32:33 +02:00
parent 26e2676268
commit c282b70001
No known key found for this signature in database
GPG key ID: 9801B4EC591F90E3
2 changed files with 6 additions and 6 deletions

View file

@ -20,14 +20,14 @@ package bisq.core.btc.listeners;
import org.bitcoinj.core.TransactionConfidence;
public class TxConfidenceListener {
private final String txID;
private final String txId;
public TxConfidenceListener(String txID) {
this.txID = txID;
public TxConfidenceListener(String txId) {
this.txId = txId;
}
public String getTxID() {
return txID;
public String getTxId() {
return txId;
}
@SuppressWarnings("UnusedParameters")

View file

@ -848,7 +848,7 @@ public abstract class WalletService {
.filter(txConfidenceListener -> tx != null &&
tx.getTxId().toString() != null &&
txConfidenceListener != null &&
tx.getTxId().toString().equals(txConfidenceListener.getTxID()))
tx.getTxId().toString().equals(txConfidenceListener.getTxId()))
.forEach(txConfidenceListener ->
txConfidenceListener.onTransactionConfidenceChanged(tx.getConfidence()));
}