good morning!!!!

Skip to content
Snippets Groups Projects
Commit b8a2ac3f authored by Sheldon's avatar Sheldon Committed by Péter Szilágyi
Browse files

les: fix pubkey index typo (#18093)

parent 9a000601
No related branches found
No related tags found
No related merge requests found
......@@ -683,7 +683,7 @@ func (e *poolEntry) DecodeRLP(s *rlp.Stream) error {
}
func encodePubkey64(pub *ecdsa.PublicKey) []byte {
return crypto.FromECDSAPub(pub)[:1]
return crypto.FromECDSAPub(pub)[1:]
}
func decodePubkey64(b []byte) (*ecdsa.PublicKey, error) {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment