From 6daa03cb448598613bec5730d9593a0bdd5766a3 Mon Sep 17 00:00:00 2001 From: smin-k Date: Fri, 5 Apr 2024 17:38:08 +0900 Subject: [PATCH] crypto/signature_nocgo.go: eip-2 comment --- crypto/signature_nocgo.go | 2 ++ 1 file changed, 2 insertions(+) diff --git a/crypto/signature_nocgo.go b/crypto/signature_nocgo.go index 989057442b..9a3c54912d 100644 --- a/crypto/signature_nocgo.go +++ b/crypto/signature_nocgo.go @@ -99,6 +99,8 @@ func Sign(hash []byte, prv *ecdsa.PrivateKey) ([]byte, error) { return sig, nil } + +//eip2: 서명 크기 확인 // VerifySignature checks that the given public key created signature over hash. // The public key should be in compressed (33 bytes) or uncompressed (65 bytes) format. // The signature should have the 64 byte [R || S] format.