diff --git a/bitcoin/src/blockdata/transaction.rs b/bitcoin/src/blockdata/transaction.rs index 0465a3ed..d5058b24 100644 --- a/bitcoin/src/blockdata/transaction.rs +++ b/bitcoin/src/blockdata/transaction.rs @@ -987,7 +987,7 @@ impl Transaction { } /// Checks if this is a coinbase transaction. - #[deprecated(since = "0.0.0-NEXT_RELEASE", note = "use is_coinbase instead")] + #[deprecated(since = "0.0.0-NEXT-RELEASE", note = "use is_coinbase instead")] pub fn is_coin_base(&self) -> bool { self.is_coinbase() } diff --git a/contrib/release.sh b/contrib/release.sh index efb5c7eb..e732a8ee 100755 --- a/contrib/release.sh +++ b/contrib/release.sh @@ -12,9 +12,9 @@ main () { # Check if there is any mention of NEXT_RELEASE which means the # next version number should be filled in. - if grep -qr NEXT_RELEASE ./$crate; then + if grep -qr NEXT.RELEASE ./$crate; then echo Version number needs to be filled in following places: - grep -r NEXT_RELEASE ./$crate + grep -r NEXT.RELEASE ./$crate exit 1 fi