Skip to content

Commit 6f5fcd3

Browse files
committed
Added a comment about the cbor_event library
1 parent 6a06f65 commit 6f5fcd3

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

rust/src/utils.rs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -582,6 +582,8 @@ impl Deserialize for Int {
582582
}
583583
}
584584

585+
/// TODO: this function can be removed in case `cbor_event` library ever gets a fix on their side
586+
/// See https://github.com/Emurgo/cardano-serialization-lib/pull/392
585587
fn read_nint<R: BufRead + Seek>(raw: &mut Deserializer<R>) -> Result <i128, DeserializeError> {
586588
let found = raw.cbor_type()?;
587589
if found != cbor_event::Type::NegativeInteger {

0 commit comments

Comments
 (0)