Alexander Belanger 4 лет назад
Родитель
Сommit
f7139683fd
1 измененных файлов с 1 добавлено и 1 удалено
  1. 1 1
      ee/billing/ironplans.go

+ 1 - 1
ee/billing/ironplans.go

@@ -217,7 +217,7 @@ func (c *Client) VerifySignature(signature string, body []byte) bool {
 	}
 
 	actual := make([]byte, 32)
-	_, err := hex.Decode(actual, []byte(signature))
+	_, err := hex.Decode(actual, []byte(signature[7:]))
 
 	if err != nil {
 		return false