mirror of
https://github.com/dashpay/dash.git
synced 2024-12-27 13:03:17 +01:00
extend txlock expiration
This commit is contained in:
parent
22e1e1c1c8
commit
6149e55710
@ -232,7 +232,7 @@ int64_t CreateNewLock(CTransaction tx)
|
|||||||
|
|
||||||
CTransactionLock newLock;
|
CTransactionLock newLock;
|
||||||
newLock.nBlockHeight = nBlockHeight;
|
newLock.nBlockHeight = nBlockHeight;
|
||||||
newLock.nExpiration = GetTime()+(60*15); //locks expire after 15 minutes (6 confirmations)
|
newLock.nExpiration = GetTime()+(60*60); //locks expire after 15 minutes (6 confirmations)
|
||||||
newLock.nTimeout = GetTime()+(60*5);
|
newLock.nTimeout = GetTime()+(60*5);
|
||||||
newLock.txHash = tx.GetHash();
|
newLock.txHash = tx.GetHash();
|
||||||
mapTxLocks.insert(make_pair(tx.GetHash(), newLock));
|
mapTxLocks.insert(make_pair(tx.GetHash(), newLock));
|
||||||
|
Loading…
Reference in New Issue
Block a user