Skip to content

Commit a54e1ce

Browse files
The rustfmt Tyrannystevenroose
The rustfmt Tyranny
authored andcommitted
Apply rustfmt
1 parent 38d11ce commit a54e1ce

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

bitcoin/src/blockdata/transaction.rs

+1-3
Original file line numberDiff line numberDiff line change
@@ -988,9 +988,7 @@ impl Transaction {
988988

989989
/// Checks if this is a coinbase transaction.
990990
#[deprecated(since = "0.0.0-NEXT-RELEASE", note = "use is_coinbase instead")]
991-
pub fn is_coin_base(&self) -> bool {
992-
self.is_coinbase()
993-
}
991+
pub fn is_coin_base(&self) -> bool { self.is_coinbase() }
994992

995993
/// Returns `true` if the transaction itself opted in to be BIP-125-replaceable (RBF).
996994
///

0 commit comments

Comments
 (0)