Skip to content

Commit

Permalink
btcec: correct the comment of recoverKeyFromSignature
Browse files Browse the repository at this point in the history
  • Loading branch information
SadPencil authored and Roasbeef committed Sep 26, 2019
1 parent 009f199 commit ba530c4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion btcec/signature.go
Original file line number Diff line number Diff line change
Expand Up @@ -276,7 +276,7 @@ func hashToInt(hash []byte, c elliptic.Curve) *big.Int {
}

// recoverKeyFromSignature recovers a public key from the signature "sig" on the
// given message hash "msg". Based on the algorithm found in section 5.1.5 of
// given message hash "msg". Based on the algorithm found in section 4.1.6 of
// SEC 1 Ver 2.0, page 47-48 (53 and 54 in the pdf). This performs the details
// in the inner loop in Step 1. The counter provided is actually the j parameter
// of the loop * 2 - on the first iteration of j we do the R case, else the -R
Expand Down

0 comments on commit ba530c4

Please sign in to comment.