Skip to content

Commit 58f671c

Browse files
committed
refactor: trivial s/val/outpoint/
1 parent f43be22 commit 58f671c

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

src/instantsend/lock.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -38,8 +38,8 @@ bool InstantSendLock::TriviallyValid() const
3838
return inputs_set.size() == inputs.size();
3939
}
4040

41-
uint256 GenInputLockRequestId(const COutPoint& val)
41+
uint256 GenInputLockRequestId(const COutPoint& outpoint)
4242
{
43-
return ::SerializeHash(std::make_pair(INPUTLOCK_REQUESTID_PREFIX, val));
43+
return ::SerializeHash(std::make_pair(INPUTLOCK_REQUESTID_PREFIX, outpoint));
4444
}
4545
} // namespace instantsend

src/instantsend/lock.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ struct InstantSendLock {
4040
bool TriviallyValid() const;
4141
};
4242

43-
uint256 GenInputLockRequestId(const COutPoint& val);
43+
uint256 GenInputLockRequestId(const COutPoint& outpoint);
4444

4545
using InstantSendLockPtr = std::shared_ptr<InstantSendLock>;
4646
} // namespace instantsend

0 commit comments

Comments
 (0)