Skip to content

Commit 3f0cbcb

Browse files
authored
chore(cbor): typo in rat unmarshal error message (#916)
Signed-off-by: Chris Gianelloni <[email protected]>
1 parent 1749790 commit 3f0cbcb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

cbor/tags.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -116,7 +116,7 @@ func (r *Rat) UnmarshalCBOR(cborData []byte) error {
116116
case uint64:
117117
tmpDenom.SetUint64(v)
118118
default:
119-
return fmt.Errorf("unsupported demoninator type for cbor.Rat: %T", v)
119+
return fmt.Errorf("unsupported denominator type for cbor.Rat: %T", v)
120120
}
121121
// Create new big.Rat with num/denom set to big.Int values above
122122
r.Rat = new(big.Rat)

0 commit comments

Comments
 (0)