Merge pull request #582 from collinsmuriuki/collinsmuriuki-patch-1

doc: correct Transaction struct encode_signing_data_to doc comment
This commit is contained in:
Elichai Turkel 2021-04-07 14:27:02 +03:00 committed by GitHub
commit dc0e2b0a52
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions

View File

@ -315,8 +315,8 @@ impl Transaction {
/// evaluating `script_pubkey` to determine which separators get evaluated and which don't, /// evaluating `script_pubkey` to determine which separators get evaluated and which don't,
/// which we don't have the information to determine. /// which we don't have the information to determine.
/// ///
/// # Panics Panics if `input_index` is greater than or equal to `self.input.len()` /// # Panics
/// /// Panics if `input_index` is greater than or equal to `self.input.len()`
pub fn encode_signing_data_to<Write: io::Write, U: Into<u32>>( pub fn encode_signing_data_to<Write: io::Write, U: Into<u32>>(
&self, &self,
mut writer: Write, mut writer: Write,