We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9fbeeb2 commit 3aaec4cCopy full SHA for 3aaec4c
pkg/demoinfocs/matchinfo.go
@@ -1,7 +1,7 @@
1
package demoinfocs
2
3
import (
4
- "strconv"
+ "fmt"
5
"strings"
6
7
"github.com/gogo/protobuf/proto"
@@ -21,7 +21,7 @@ func MatchInfoDecryptionKey(b []byte) ([]byte, error) {
21
return nil, errors.Wrap(err, "failed to unmarshal MatchInfo message")
22
}
23
24
- k := []byte(strings.ToUpper(strconv.FormatUint(m.Watchablematchinfo.ClDecryptdataKeyPub, 16)))
+ k := []byte(strings.ToUpper(fmt.Sprintf("%016x", m.Watchablematchinfo.ClDecryptdataKeyPub)))
25
26
return k, nil
27
0 commit comments