소스 검색

PIP-0009: pseudo-code bug fix

Herman Schoenfeld 7 년 전
부모
커밋
e5780697ff
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      PIP/PIP-0009.md

+ 1 - 1
PIP/PIP-0009.md

@@ -100,7 +100,7 @@ A low-memory, GPU and ASIC-resistant hash algorithm called **Random Hash** is pr
                 roundOutputs.AddMany(parentOutputs)
                 
                 let otherNonceHeader = ChangeNonce(blockHeader, gen.NextDWord)
-                let neighborOutputs = RandomHash(blockHeader, Round - 1)
+                let neighborOutputs = RandomHash(otherNonceHeader, Round - 1)
                 roundOutputs.AddMany(neighborOutputs)
                 
                 let roundInput = Compress(roundOutputs)