extend txlock expiration

This commit is contained in:
Evan Duffield 2015-02-05 17:49:55 -07:00
parent 22e1e1c1c8
commit 6149e55710

View File

@ -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));