Skip to content

Commit b44ecfd

Browse files
committed
fixed issue where end_timestamp was still being read in subcribe
1 parent 445abf4 commit b44ecfd

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

decoder/decoder/src/subscribe.rs

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,8 +14,6 @@ fn read_subscription(data: &[u8]) -> Result<CompressedSubscriptionEntry, Decoder
1414
let public_key: [u8; 32] = read_value(&mut data_cursor)?;
1515

1616
let start_time: u64 = read_value(&mut data_cursor)?;
17-
let end_time: u64 = read_value(&mut data_cursor)?;
18-
assert!(start_time <= end_time);
1917

2018
let channel_id: u32 = read_value(&mut data_cursor)?;
2119
assert!(channel_id != EMERGENCY_CHANNEL_ID);

0 commit comments

Comments
 (0)