From c9053511b2fd7f0487c04f7b14259a34232904de Mon Sep 17 00:00:00 2001 From: Martin Habovstiak Date: Mon, 19 Aug 2024 16:23:56 +0200 Subject: [PATCH] Remove misleading version metadata The metadata in dependency specification was misleading because the version was not guaranteed to be the same anyway this was correctly linted but nobody so far cared to fix it. This change fixes it and adds a hint how to get the real version for people who are mistakenly investigating wrong file. --- bitcoin/Cargo.toml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/bitcoin/Cargo.toml b/bitcoin/Cargo.toml index 9553756a9..3396486a1 100644 --- a/bitcoin/Cargo.toml +++ b/bitcoin/Cargo.toml @@ -36,7 +36,8 @@ units = { package = "bitcoin-units", version = "0.1.0", default-features = false base64 = { version = "0.22.0", optional = true } ordered = { version = "0.2.0", optional = true } -bitcoinconsensus = { version = "0.106.0+26", default-features = false, optional = true } +# `bitcoinconsensus` version includes metadata which indicates the version of Core. Use `cargo tree` to see it. +bitcoinconsensus = { version = "0.106.0", default-features = false, optional = true } serde = { version = "1.0.103", default-features = false, features = [ "derive", "alloc" ], optional = true }