2024-01-14 automated rustfmt nightly
This commit is contained in:
parent
5e3d1295e0
commit
e768c92ce3
|
@ -357,7 +357,10 @@ impl Script {
|
||||||
///
|
///
|
||||||
/// This method has potentially confusing semantics and an unclear purpose, so it's going to be
|
/// This method has potentially confusing semantics and an unclear purpose, so it's going to be
|
||||||
/// removed. Use `is_op_return` if you want `OP_RETURN` semantics.
|
/// removed. Use `is_op_return` if you want `OP_RETURN` semantics.
|
||||||
#[deprecated(since = "TBD", note = "The method is not very useful, you might want `is_op_return`")]
|
#[deprecated(
|
||||||
|
since = "TBD",
|
||||||
|
note = "The method is not very useful, you might want `is_op_return`"
|
||||||
|
)]
|
||||||
#[inline]
|
#[inline]
|
||||||
pub fn is_provably_unspendable(&self) -> bool {
|
pub fn is_provably_unspendable(&self) -> bool {
|
||||||
use crate::blockdata::opcodes::Class::{IllegalOp, ReturnOp};
|
use crate::blockdata::opcodes::Class::{IllegalOp, ReturnOp};
|
||||||
|
|
Loading…
Reference in New Issue