Skip to content

Commit

Permalink
Fix casting bug
Browse files Browse the repository at this point in the history
  • Loading branch information
hu55a1n1 committed Oct 21, 2024
1 parent a9a4b12 commit fee1af0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion examples/transfers/enclave/src/transfers_server.rs
Original file line number Diff line number Diff line change
Expand Up @@ -211,7 +211,7 @@ where
}

let seq_num_diff = message.seq_num - self.seq_num;
if seq_num_diff != pending_sequenced_requests {
if seq_num_diff != pending_sequenced_requests as u64 {
return Err(Status::failed_precondition("seq_num_diff mismatch"));
}

Expand Down

0 comments on commit fee1af0

Please sign in to comment.