cryptonote_basic: remove redundant call to get_transaction_hash() in overload

Issue noticed by DataHoarder.
This commit is contained in:
jeffro256 2025-10-05 16:47:53 -05:00
parent a440e91790
commit 014f3cd0a1
No known key found for this signature in database
GPG Key ID: 6F79797A6E392442

View File

@ -1273,7 +1273,6 @@ namespace cryptonote
crypto::hash get_transaction_hash(const transaction& t) crypto::hash get_transaction_hash(const transaction& t)
{ {
crypto::hash h = null_hash; 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"); CHECK_AND_ASSERT_THROW_MES(get_transaction_hash(t, h, NULL), "Failed to calculate transaction hash");
return h; return h;
} }