Fix spelling of "freestanding" in comments

This commit is contained in:
Sean Gilligan 2023-03-29 16:14:33 -07:00 committed by Andreas Schildbach
parent a3d8d24d6f
commit 4a62b0f53d
4 changed files with 6 additions and 6 deletions

View file

@ -150,7 +150,7 @@ public class TransactionInput extends ChildMessage {
}
/**
* Gets the index of this input in the parent transaction, or throws if this input is free standing. Iterates
* Gets the index of this input in the parent transaction, or throws if this input is freestanding. Iterates
* over the parents list to discover this.
*/
public int getIndex() {

View file

@ -180,7 +180,7 @@ public class TransactionOutput extends ChildMessage {
}
/**
* Gets the index of this output in the parent transaction, or throws if this output is free standing. Iterates
* Gets the index of this output in the parent transaction, or throws if this output is freestanding. Iterates
* over the parents list to discover this.
*/
public int getIndex() {

View file

@ -31,7 +31,7 @@ import java.util.Objects;
/**
* A UTXO message contains the information necessary to check a spending transaction.
* It avoids having to store the entire parentTransaction just to get the hash and index.
* Useful when working with free standing outputs.
* Useful when working with freestanding outputs.
*/
public class UTXO {
private final Coin value;

View file

@ -4755,7 +4755,7 @@ public class Wallet extends BaseTaggableObject
// ***************************************************************************************************************
/**
* A custom {@link TransactionOutput} that is free standing. This contains all the information
* A custom {@link TransactionOutput} that is freestanding. This contains all the information
* required for spending without actually having all the linked data (i.e parent tx).
*
*/
@ -4764,9 +4764,9 @@ public class Wallet extends BaseTaggableObject
private final int chainHeight;
/**
* Construct a free standing Transaction Output.
* Construct a freestanding Transaction Output.
* @param params The network parameters.
* @param output The stored output (free standing).
* @param output The stored output (freestanding).
*/
public FreeStandingTransactionOutput(NetworkParameters params, UTXO output, int chainHeight) {
super(params, null, output.getValue(), output.getScript().getProgram());