We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 378522d + fdd9c8c commit 0172dbdCopy full SHA for 0172dbd
utils/utils.go
@@ -11,7 +11,7 @@ import (
11
12
// BCDEncode encodes a string into BCD-encoded bytes.
13
func BCDEncode(s string) ([]byte, error) {
14
- return StrToSwappedBytes(s, "0")
+ return StrToSwappedBytes(s, "f")
15
}
16
17
// MustBCDEncode is the same as BCDEncode but panics if any error occurs.
0 commit comments