Skip to content

Commit

Permalink
correct name
Browse files Browse the repository at this point in the history
  • Loading branch information
rnbguy committed Apr 29, 2024
1 parent 67d0735 commit ffba2e6
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions ibc-testkit/src/fixtures/core/channel/packet.rs
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ mod tests {

let proof_height = 10;
let default_raw_packet = dummy_raw_packet(proof_height, 1000);
let raw_packet_no_timeout_or_timestamp = dummy_raw_packet(10, 0);
let raw_packet_no_timeout_of_timestamp = dummy_raw_packet(10, 0);

let mut raw_packet_invalid_timeout_height = dummy_raw_packet(0, 10);
raw_packet_invalid_timeout_height.timeout_height = Some(RawHeight {
Expand All @@ -102,7 +102,7 @@ mod tests {
// Note: ibc-go currently (July 2022) incorrectly rejects this
// case, even though it is allowed in ICS-4.
name: "Packet with no timeout of timestamp".to_string(),
raw: raw_packet_no_timeout_or_timestamp.clone(),
raw: raw_packet_no_timeout_of_timestamp.clone(),
want_pass: true,
},
Test {
Expand Down Expand Up @@ -225,7 +225,7 @@ mod tests {
name: "Missing both timeout height and timestamp".to_string(),
raw: RawPacket {
timeout_height: None,
..raw_packet_no_timeout_or_timestamp
..raw_packet_no_timeout_of_timestamp
},
want_pass: false,
}
Expand Down

0 comments on commit ffba2e6

Please sign in to comment.