Skip to content

Commit 6986438

Browse files
committed
update cbor
1 parent 4014f15 commit 6986438

File tree

4 files changed

+6
-6
lines changed

4 files changed

+6
-6
lines changed

go.mod

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ require (
77
github.com/stretchr/testify v1.8.4
88
golang.org/x/exp v0.0.0-20230522175609-2e198f4a06a1
99
golang.org/x/term v0.29.0
10-
nikand.dev/go/cbor v0.0.0-20240927214417-98af9ca7872f
10+
nikand.dev/go/cbor v0.0.0-20250209114510-2072ad4734c5
1111
nikand.dev/go/hacked v0.0.0-20250204131511-0939a5c9c782
1212
tlog.app/go/eazy v0.4.1
1313
tlog.app/go/errors v0.11.0

go.sum

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -58,8 +58,8 @@ gopkg.in/check.v1 v1.0.0-20201130134442-10cb98267c6c/go.mod h1:JHkPIbrfpd72SG/EV
5858
gopkg.in/yaml.v3 v3.0.0-20200313102051-9f266ea9e77c/go.mod h1:K4uyk7z7BCEPqu6E+C64Yfv1cQ7kz7rIZviUmN+EgEM=
5959
gopkg.in/yaml.v3 v3.0.1 h1:fxVm/GzAzEWqLHuvctI91KS9hhNmmWOoWu0XTYJS7CA=
6060
gopkg.in/yaml.v3 v3.0.1/go.mod h1:K4uyk7z7BCEPqu6E+C64Yfv1cQ7kz7rIZviUmN+EgEM=
61-
nikand.dev/go/cbor v0.0.0-20240927214417-98af9ca7872f h1:ni1YmHBWF8YI22c1TW7uTBG9nfyezWSC4n+9zZT7RHQ=
62-
nikand.dev/go/cbor v0.0.0-20240927214417-98af9ca7872f/go.mod h1:KU6mV3VAVKdPXXlzE9BtpUaVtV+Z/N/jFEeC5jXMkDg=
61+
nikand.dev/go/cbor v0.0.0-20250209114510-2072ad4734c5 h1:VDdlYMcX+0+Ly6e1u6wmPHeG232sMtVuEltbNZJabqQ=
62+
nikand.dev/go/cbor v0.0.0-20250209114510-2072ad4734c5/go.mod h1:KU6mV3VAVKdPXXlzE9BtpUaVtV+Z/N/jFEeC5jXMkDg=
6363
nikand.dev/go/hacked v0.0.0-20250204131511-0939a5c9c782 h1:ZwZD4yU0BtLJ3dIuFGxGrvgCshSqR5QtF3p48Qyjzzo=
6464
nikand.dev/go/hacked v0.0.0-20250204131511-0939a5c9c782/go.mod h1:1Rg61dFquIgf7q9N6J5su45CvGWn/cDG5x2gXzDN5G0=
6565
tlog.app/go/eazy v0.4.1 h1:WxHqUQBRbOokUSq8kf8J/uoo/RSow/TC0jopCZulmSo=

tlwire/big.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ import (
55
)
66

77
func (e *Encoder) AppendBigInt(b []byte, x *big.Int) []byte {
8-
b = e.AppendLabeled(b, Big)
8+
b = e.AppendLabel(b, Big)
99

1010
if x == nil {
1111
return e.AppendNull(b)

tlwire/wire.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ const (
2121
String = cbor.String
2222
Array = cbor.Array
2323
Map = cbor.Map
24-
Semantic = cbor.Labeled
24+
Semantic = cbor.Label
2525
Special = cbor.Simple
2626

2727
TagMask = 0b111_00000
@@ -97,4 +97,4 @@ func init() {
9797
}
9898
}
9999

100-
func (e LowEncoder) AppendSemantic(b []byte, l int) []byte { return e.AppendLabeled(b, l) }
100+
func (e LowEncoder) AppendSemantic(b []byte, l int) []byte { return e.AppendLabel(b, l) }

0 commit comments

Comments
 (0)