Update transaction.rs
This commit is contained in:
parent
0e70e85a1a
commit
fc4ea87429
|
@ -999,7 +999,7 @@ impl InputWeightPrediction {
|
|||
///
|
||||
/// # Panics
|
||||
///
|
||||
/// The funcion panics in const context and debug builds if `bytes_to_grind` is higher than 62.
|
||||
/// The function panics in const context and debug builds if `bytes_to_grind` is higher than 62.
|
||||
///
|
||||
/// [signature grinding]: https://bitcoin.stackexchange.com/questions/111660/what-is-signature-grinding
|
||||
pub const fn ground_p2wpkh(bytes_to_grind: usize) -> Self {
|
||||
|
@ -1019,7 +1019,7 @@ impl InputWeightPrediction {
|
|||
///
|
||||
/// # Panics
|
||||
///
|
||||
/// The funcion panics in const context and debug builds if `bytes_to_grind` is higher than 62.
|
||||
/// The function panics in const context and debug builds if `bytes_to_grind` is higher than 62.
|
||||
///
|
||||
/// [nested P2WPKH]: https://github.com/bitcoin/bips/blob/master/bip-0141.mediawiki#p2wpkh-nested-in-bip16-p2sh
|
||||
/// [signature grinding]: https://bitcoin.stackexchange.com/questions/111660/what-is-signature-grinding
|
||||
|
@ -1040,7 +1040,7 @@ impl InputWeightPrediction {
|
|||
///
|
||||
/// # Panics
|
||||
///
|
||||
/// The funcion panics in const context and debug builds if `bytes_to_grind` is higher than 62.
|
||||
/// The function panics in const context and debug builds if `bytes_to_grind` is higher than 62.
|
||||
///
|
||||
/// [signature grinding]: https://bitcoin.stackexchange.com/questions/111660/what-is-signature-grinding
|
||||
pub const fn ground_p2pkh_compressed(bytes_to_grind: usize) -> Self {
|
||||
|
|
Loading…
Reference in New Issue