From dca3af5bde616faf14c0b7a3354535b36e3b4489 Mon Sep 17 00:00:00 2001 From: Simon Date: Thu, 9 Jun 2016 07:23:33 +0800 Subject: [PATCH] Update variable name. --- src/crypto/equihash.tcc | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/crypto/equihash.tcc b/src/crypto/equihash.tcc index 5986eeb98..f10fe2ced 100644 --- a/src/crypto/equihash.tcc +++ b/src/crypto/equihash.tcc @@ -10,10 +10,10 @@ template bool DistinctIndices(const FullStepRow& a, const FullStepRow& b, size_t len, size_t lenIndices) { - std::vector aSrt = a.GetIndices(len, lenIndices); - std::vector bSrt = b.GetIndices(len, lenIndices); - for(auto const& value1: aSrt) { - for(auto const& value2: bSrt) { + std::vector vIndicesA = a.GetIndices(len, lenIndices); + std::vector vIndicesB = b.GetIndices(len, lenIndices); + for(auto const& value1: vIndicesA) { + for(auto const& value2: vIndicesB) { if (value1==value2) { return false; }