Skip to content

Commit

Permalink
fix: reorder fields in Message struct
Browse files Browse the repository at this point in the history
  • Loading branch information
bengineer42 committed Jan 10, 2025
1 parent 3eae1d9 commit d84fb23
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions examples/spawn-and-move/src/models.cairo
Original file line number Diff line number Diff line change
Expand Up @@ -28,9 +28,9 @@ pub struct Message {
pub identity: ContractAddress,
#[key]
pub channel: felt252,
pub message: ByteArray,
#[key]
pub salt: felt252
pub salt: felt252,
pub message: ByteArray,
}

#[derive(Copy, Drop, Serde, Debug)]
Expand Down

0 comments on commit d84fb23

Please sign in to comment.