In the Data Hashing section, {} is missing I think?
{}
txHash = sha256.Sum256(bytes.Join(txHashes, []byte{}))
And in the previous parts, in the proof.go file, the method name was InitNounce, which is changed to InitData without saying explicitly in this part. Maybe need to change it to InitData in the prev parts too? Because it's more meaningful imo.
proof.go
InitNounce
InitData
If it looks off to you, double check the repl link to see if there's a discrepancy!
Are you sure you want to hide this comment? It will become hidden in your post, but will still be visible via the comment's permalink.
Hide child comments as well
Confirm
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
In the Data Hashing section,
{}
is missing I think?And in the previous parts, in the
proof.go
file, the method name wasInitNounce
, which is changed toInitData
without saying explicitly in this part. Maybe need to change it toInitData
in the prev parts too? Because it's more meaningful imo.If it looks off to you, double check the repl link to see if there's a discrepancy!