Skip to content

Commit

Permalink
Merge #938: Fix bug in #895
Browse files Browse the repository at this point in the history
68ff166 Fix bug in #895
  • Loading branch information
UdjinM6 authored and schinzelh committed Aug 12, 2016
1 parent 8d28ed0 commit ee266f2
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 ee266f2

Please sign in to comment.