mirror of
https://github.com/monero-project/monero.git
synced 2025-12-25 12:25:18 -08:00
Merge pull request #6436
688a3e8 Add timelock verification on device (cslashm)
This commit is contained in:
@@ -126,6 +126,20 @@ namespace cryptonote
|
||||
namespace cryptonote
|
||||
{
|
||||
//---------------------------------------------------------------
|
||||
void get_transaction_prefix_hash(const transaction_prefix& tx, crypto::hash& h, hw::device &hwdev)
|
||||
{
|
||||
hwdev.get_transaction_prefix_hash(tx,h);
|
||||
}
|
||||
|
||||
//---------------------------------------------------------------
|
||||
crypto::hash get_transaction_prefix_hash(const transaction_prefix& tx, hw::device &hwdev)
|
||||
{
|
||||
crypto::hash h = null_hash;
|
||||
get_transaction_prefix_hash(tx, h, hwdev);
|
||||
return h;
|
||||
}
|
||||
|
||||
//---------------------------------------------------------------
|
||||
void get_transaction_prefix_hash(const transaction_prefix& tx, crypto::hash& h)
|
||||
{
|
||||
std::ostringstream s;
|
||||
|
||||
Reference in New Issue
Block a user