From 573b69a9e54feac471bb232c2a9ea81362e24a5b Mon Sep 17 00:00:00 2001 From: Chris Gianelloni Date: Thu, 27 Feb 2025 13:28:12 -0500 Subject: [PATCH] chore(cbor): typo in rat unmarshal error message Signed-off-by: Chris Gianelloni --- cbor/tags.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cbor/tags.go b/cbor/tags.go index 9039d910..02e9310e 100644 --- a/cbor/tags.go +++ b/cbor/tags.go @@ -116,7 +116,7 @@ func (r *Rat) UnmarshalCBOR(cborData []byte) error { case uint64: tmpDenom.SetUint64(v) default: - return fmt.Errorf("unsupported demoninator type for cbor.Rat: %T", v) + return fmt.Errorf("unsupported denominator type for cbor.Rat: %T", v) } // Create new big.Rat with num/denom set to big.Int values above r.Rat = new(big.Rat)