mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-08-20 10:52:25 +00:00
crypto: remove a moot todo
This commit is contained in:
parent
ebf9e11af2
commit
a25bd8cf4c
1 changed files with 0 additions and 3 deletions
|
|
@ -160,9 +160,6 @@ func signAndRecoverWithRandomMessages(t *testing.T, keys func() ([]byte, []byte)
|
||||||
}
|
}
|
||||||
compactSigCheck(t, sig)
|
compactSigCheck(t, sig)
|
||||||
|
|
||||||
// TODO: why do we flip around the recovery id?
|
|
||||||
sig[len(sig)-1] %= 4
|
|
||||||
|
|
||||||
pubkey2, err := RecoverPubkey(msg, sig)
|
pubkey2, err := RecoverPubkey(msg, sig)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
t.Fatalf("recover error: %s", err)
|
t.Fatalf("recover error: %s", err)
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue