Skip to content

Commit

Permalink
Fix assert. (#18)
Browse files Browse the repository at this point in the history
  • Loading branch information
floitsch authored Jan 3, 2023
1 parent c17aa9f commit ebc30dd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/bus.toit
Original file line number Diff line number Diff line change
Expand Up @@ -235,7 +235,7 @@ class TransactionManager_:
Writes a frame for the transaction with the given $id.
*/
write id/int frame/Frame -> none:
assert: frame.id == id
assert: frame.transaction_id == id
transport_.write frame

dispatch_ frame_or_exception -> bool:
Expand Down

0 comments on commit ebc30dd

Please sign in to comment.