Skip to content

Commit 4732fdb

Browse files
authored
docs: fix typo
1 parent 5cd1201 commit 4732fdb

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

bitcoin/src/psbt/mod.rs

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -671,7 +671,7 @@ impl Psbt {
671671
Ok(output_type.signing_algorithm())
672672
}
673673

674-
/// Returns the [`OutputType`] of the spend utxo for this PBST's input at `input_index`.
674+
/// Returns the [`OutputType`] of the spend utxo for this PSBT's input at `input_index`.
675675
fn output_type(&self, input_index: usize) -> Result<OutputType, SignError> {
676676
let input = self.checked_input(input_index)?;
677677
let utxo = self.spend_utxo(input_index)?;
@@ -1088,7 +1088,7 @@ impl fmt::Display for SignError {
10881088
match *self {
10891089
IndexOutOfBounds(ref e) => write_err!(f, "index out of bounds"; e),
10901090
InvalidSighashType => write!(f, "invalid sighash type"),
1091-
MissingInputUtxo => write!(f, "missing input utxo in PBST"),
1091+
MissingInputUtxo => write!(f, "missing input utxo in PSBT"),
10921092
MissingRedeemScript => write!(f, "missing redeem script"),
10931093
MissingSpendUtxo => write!(f, "missing spend utxo in PSBT"),
10941094
MissingWitnessScript => write!(f, "missing witness script"),
@@ -1213,14 +1213,14 @@ pub enum IndexOutOfBoundsError {
12131213
Inputs {
12141214
/// Attempted index access.
12151215
index: usize,
1216-
/// Length of the PBST inputs vector.
1216+
/// Length of the PSBT inputs vector.
12171217
length: usize,
12181218
},
12191219
/// The index is out of bounds for the `psbt.unsigned_tx.input` vector.
12201220
TxInput {
12211221
/// Attempted index access.
12221222
index: usize,
1223-
/// Length of the PBST's unsigned transaction input vector.
1223+
/// Length of the PSBT's unsigned transaction input vector.
12241224
length: usize,
12251225
},
12261226
}

0 commit comments

Comments
 (0)