quorums: Don't shadow islockHash (#3875)

Signed-off-by: pasta <pasta@dashboost.org>
This commit is contained in:
PastaPastaPasta 2020-12-15 15:55:29 -06:00 committed by GitHub
parent 2937da2219
commit a1f456c7ff
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -415,9 +415,9 @@ bool CInstantSendManager::ProcessTx(const CTransaction& tx, bool allowReSigning,
auto conflictingLock = GetConflictingLock(tx);
if (conflictingLock) {
auto islockHash = ::SerializeHash(*conflictingLock);
auto conflictingLockHash = ::SerializeHash(*conflictingLock);
LogPrintf("CInstantSendManager::%s -- txid=%s: conflicts with islock %s, txid=%s\n", __func__,
tx.GetHash().ToString(), islockHash.ToString(), conflictingLock->txid.ToString());
tx.GetHash().ToString(), conflictingLockHash.ToString(), conflictingLock->txid.ToString());
return false;
}