diff options
| author | jeffro256 <jeffro256@tutanota.com> | 2025-10-05 16:47:53 -0500 |
|---|---|---|
| committer | jeffro256 <jeffro256@tutanota.com> | 2025-10-06 15:05:20 -0500 |
| commit | 014f3cd0a178450f7caf25d3cd25e45e9485af6d (patch) | |
| tree | 00424a7a07f9de4ba1a6729d4f4b77348668cf3c /src/cryptonote_basic | |
| parent | a440e917906b92b74daa107e49fcb963266242fa (diff) | |
| download | monzero-core-014f3cd0a178450f7caf25d3cd25e45e9485af6d.tar.gz monzero-core-014f3cd0a178450f7caf25d3cd25e45e9485af6d.tar.xz monzero-core-014f3cd0a178450f7caf25d3cd25e45e9485af6d.zip | |
cryptonote_basic: remove redundant call to get_transaction_hash() in overload
Issue noticed by DataHoarder.
Diffstat (limited to 'src/cryptonote_basic')
| -rw-r--r-- | src/cryptonote_basic/cryptonote_format_utils.cpp | 1 |
1 files changed, 0 insertions, 1 deletions
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; } |
