mirror of
https://github.com/bitcoinj/bitcoinj.git
synced 2024-11-19 01:40:26 +01:00
Transaction: reduce visibility of two methodsn
This is a minor breaking change to anything relying on the methods that now have package visibility, but that should be very rare.
This commit is contained in:
parent
5ff114b7b8
commit
0033918f82
@ -1584,14 +1584,14 @@ public class Transaction extends BaseMessage {
|
||||
* Returns the confidence object for this transaction from the {@link TxConfidenceTable}
|
||||
* referenced by the given {@link Context}.
|
||||
*/
|
||||
public TransactionConfidence getConfidence(Context context) {
|
||||
TransactionConfidence getConfidence(Context context) {
|
||||
return getConfidence(context.getConfidenceTable());
|
||||
}
|
||||
|
||||
/**
|
||||
* Returns the confidence object for this transaction from the {@link TxConfidenceTable}
|
||||
*/
|
||||
public TransactionConfidence getConfidence(TxConfidenceTable table) {
|
||||
TransactionConfidence getConfidence(TxConfidenceTable table) {
|
||||
if (confidence == null)
|
||||
confidence = table.getOrCreate(getTxId()) ;
|
||||
return confidence;
|
||||
|
Loading…
Reference in New Issue
Block a user