extend txlock expiration
This commit is contained in:
parent
22e1e1c1c8
commit
6149e55710
@ -232,7 +232,7 @@ int64_t CreateNewLock(CTransaction tx)
|
||||
|
||||
CTransactionLock newLock;
|
||||
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.txHash = tx.GetHash();
|
||||
mapTxLocks.insert(make_pair(tx.GetHash(), newLock));
|
||||
|
Loading…
Reference in New Issue
Block a user