diff --git a/bitcoin/src/blockdata/script/borrowed.rs b/bitcoin/src/blockdata/script/borrowed.rs index 8e1db39b..6577fb49 100644 --- a/bitcoin/src/blockdata/script/borrowed.rs +++ b/bitcoin/src/blockdata/script/borrowed.rs @@ -395,6 +395,12 @@ impl Script { } } + /// Returns the minimum value an output with this script should have in order to be + /// broadcastable on today’s Bitcoin network. + #[deprecated(since = "0.32.0", note = "use minimal_non_dust and friends")] + pub fn dust_value(&self) -> crate::Amount { self.minimal_non_dust() } + + /// Returns the minimum value an output with this script should have in order to be /// broadcastable on today's Bitcoin network. ///