Skip to content

Commit

Permalink
Fix bug in bitcoin#895
Browse files Browse the repository at this point in the history
  • Loading branch information
UdjinM6 committed Aug 12, 2016
1 parent 1f6d5ff commit 68ff166
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/instantx.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -485,7 +485,7 @@ void CleanTransactionLocksList()
int nHeight = chainActive.Height();
while(it != mapTxLocks.end()) {
CTransactionLock &txLock = it->second;
if(GetTime() > txLock.nLockExpirationBlock) {
if(nHeight > txLock.nLockExpirationBlock) {
LogPrintf("Removing old transaction lock: txid=%s\n", txLock.txHash.ToString());

if(mapTxLockReq.count(txLock.txHash)){
Expand Down

0 comments on commit 68ff166

Please sign in to comment.