We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 77e3f9f commit f72b6bcCopy full SHA for f72b6bc
cbor.go
@@ -28,8 +28,8 @@ func init() {
28
29
// init encode mode
30
encOpts := cbor.EncOptions{
31
- Sort: cbor.SortCanonical, // sort map keys
32
- IndefLength: cbor.IndefLengthForbidden, // no streaming
+ Sort: cbor.SortCoreDeterministic, // sort map keys
+ IndefLength: cbor.IndefLengthForbidden, // no streaming
33
}
34
encMode, err = encOpts.EncMode()
35
if err != nil {
0 commit comments