Merge pull request #10146

ca27d51 cryptonote_basic: remove redundant call to get_transaction_hash() in overload (jeffro256)
This commit is contained in:
luigi1111 2025-10-07 15:21:02 -04:00
commit 8e98fa954c
No known key found for this signature in database
GPG Key ID: F4ACA0183641E010

View File

@ -1256,7 +1256,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;
} }