From ea4c93a0440832f2992e21233df421f75acd192b Mon Sep 17 00:00:00 2001 From: Jeromy Date: Sat, 21 Mar 2020 14:17:01 -0700 Subject: [PATCH] update and rerun cbor gen --- cbor_gen.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/cbor_gen.go b/cbor_gen.go index 6fe46d985..42ad7c029 100644 --- a/cbor_gen.go +++ b/cbor_gen.go @@ -694,7 +694,7 @@ func (t *SectorInfo) UnmarshalCBOR(r io.Reader) error { { if err := t.Ticket.UnmarshalCBOR(br); err != nil { - return err + return xerrors.Errorf("unmarshaling t.Ticket: %w", err) } } @@ -729,7 +729,7 @@ func (t *SectorInfo) UnmarshalCBOR(r io.Reader) error { { if err := t.Seed.UnmarshalCBOR(br); err != nil { - return err + return xerrors.Errorf("unmarshaling t.Seed: %w", err) } }