mirror of
https://github.com/wownero/wownero.git
synced 2026-12-05 23:44:02 +01:00
Merge pull request #9151
ff49444@tobtoht: undo rebase changes tx.dsts -> tx_dsts (jeffro256)38f354eEnforce Tx unlock_time is Zero by Relay Rule (jeffro256)
This commit is contained in:
@@ -235,6 +235,15 @@ namespace cryptonote
|
||||
return false;
|
||||
}
|
||||
|
||||
if (!kept_by_block && tx.unlock_time)
|
||||
{
|
||||
LOG_PRINT_L1("transaction unlock time is not zero: " << tx.unlock_time);
|
||||
tvc.m_verifivation_failed = true;
|
||||
tvc.m_nonzero_unlock_time = true;
|
||||
tvc.m_no_drop_offense = true;
|
||||
return false;
|
||||
}
|
||||
|
||||
// if the transaction came from a block popped from the chain,
|
||||
// don't check if we have its key images as spent.
|
||||
// TODO: Investigate why not?
|
||||
|
||||
Reference in New Issue
Block a user