mirror of
https://github.com/monero-project/monero.git
synced 2025-12-08 16:11:28 +09:00
cryptonote_basic: remove redundant call to get_transaction_hash() in overload
Issue noticed by DataHoarder.
This commit is contained in:
parent
a440e91790
commit
014f3cd0a1
@ -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;
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user