Skip to content

Commit 98dc874

Browse files
committed
trivial: use GetBestChainLockHeight()
1 parent 9b1b2c6 commit 98dc874

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/evo/chainhelper.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ bool CChainstateHelper::HasChainLock(int nHeight, const uint256& blockHash) cons
3838
return clhandler.HasChainLock(nHeight, blockHash);
3939
}
4040

41-
int32_t CChainstateHelper::GetBestChainLockHeight() const { return clhandler.GetBestChainLock().getHeight(); }
41+
int32_t CChainstateHelper::GetBestChainLockHeight() const { return clhandler.GetBestChainLockHeight(); }
4242

4343
/** Passthrough functions to CInstantSendManager */
4444
std::optional<std::pair</*islock_hash=*/uint256, /*txid=*/uint256>> CChainstateHelper::ConflictingISLockIfAny(

0 commit comments

Comments
 (0)