We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 037ea6b commit 160ac46Copy full SHA for 160ac46
1 file changed
lib/src/messages/discard.rs
@@ -56,7 +56,7 @@ mod tests {
56
assert_eq!(&*marker_signature, &[0xB1, 0x2F]);
57
let extra: BoltMap = BoltMap::parse(Version::V4_1, &mut bytes).unwrap();
58
59
- assert_eq!(extra.get::<i64>("n").unwrap(), 255);
60
- assert_eq!(extra.get::<i64>("qid").unwrap(), 255);
+ assert_eq!(extra.get::<i64>("n").unwrap(), -1);
+ assert_eq!(extra.get::<i64>("qid").unwrap(), -1);
61
}
62
0 commit comments