Hash transaction prefix instead of transaction

fantomcoin_support
lucas 2014-06-07 01:38:18 +01:00
parent 3c9f7ffb28
commit 71f1a6d8c2
1 changed files with 1 additions and 1 deletions

View File

@ -590,7 +590,7 @@ namespace cryptonote
bool get_transaction_hash(const bb_transaction& t, crypto::hash& res) bool get_transaction_hash(const bb_transaction& t, crypto::hash& res)
{ {
size_t blob_size = 0; size_t blob_size = 0;
return get_object_hash(t, res, blob_size); return get_object_hash(static_cast<const bb_transaction_prefix&>(t), res, blob_size);
} }
//--------------------------------------------------------------- //---------------------------------------------------------------