Skip to content

Commit 71f1a6d

Browse files
committed
Hash transaction prefix instead of transaction
1 parent 3c9f7ff commit 71f1a6d

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/cryptonote_core/cryptonote_format_utils.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -590,7 +590,7 @@ namespace cryptonote
590590
bool get_transaction_hash(const bb_transaction& t, crypto::hash& res)
591591
{
592592
size_t blob_size = 0;
593-
return get_object_hash(t, res, blob_size);
593+
return get_object_hash(static_cast<const bb_transaction_prefix&>(t), res, blob_size);
594594
}
595595

596596
//---------------------------------------------------------------

0 commit comments

Comments
 (0)