ycen

Results 22 comments of ycen

In the protocol, the signature bytes is EncodedBytes(r) + EncodedBytes(s) where EncodedBytes is little endian (reversed) order of bytes. So you may need to reverse r and s to see...

> sig, _ := new(big.Int).SetString("420103990468094270452503032366447392207478837919537176652153928397188071222906781927852793259516476775925732882093705982917658354422734550707258699001614", 10) fmt.Println(sig.Bytes()) > r, _ := new(big.Int).SetString("74351319199570382178743445073466484013692963667981877516020532843769404065032", 10) fmt.Println(r.Bytes()) > s, _ := new(big.Int).SetString("6642376151640936682087191879529680821793081600695722025258330097752334617937", 10) fmt.Println(s.Bytes()) > fmt.Println(len(sig.Bytes()), len(r.Bytes()), len(s.Bytes())) Not sure the problem you...