From 014f3cd0a178450f7caf25d3cd25e45e9485af6d Mon Sep 17 00:00:00 2001 From: jeffro256 Date: Sun, 5 Oct 2025 16:47:53 -0500 Subject: [PATCH] cryptonote_basic: remove redundant call to get_transaction_hash() in overload Issue noticed by DataHoarder. --- src/cryptonote_basic/cryptonote_format_utils.cpp | 1 - 1 file changed, 1 deletion(-) diff --git a/src/cryptonote_basic/cryptonote_format_utils.cpp b/src/cryptonote_basic/cryptonote_format_utils.cpp index 2bade9659..ea1508505 100644 --- a/src/cryptonote_basic/cryptonote_format_utils.cpp +++ b/src/cryptonote_basic/cryptonote_format_utils.cpp @@ -1273,7 +1273,6 @@ namespace cryptonote crypto::hash get_transaction_hash(const transaction& t) { crypto::hash h = null_hash; - get_transaction_hash(t, h, NULL); CHECK_AND_ASSERT_THROW_MES(get_transaction_hash(t, h, NULL), "Failed to calculate transaction hash"); return h; }