Skip to content

Commit

Permalink
Fixed payload type.
Browse files Browse the repository at this point in the history
  • Loading branch information
gbin committed Jun 30, 2024
1 parent 2852134 commit 95e70b1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion copper/src/copperlist.rs
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ enum CopperListState {
}

#[derive(Debug, Encode, Decode)]
struct CopperList<P: Serialize> {
struct CopperList<P: bincode::Encode + bincode::Decode> {
state: CopperListState,
payload: P, // This is generated from the runtime.
}
Expand Down

0 comments on commit 95e70b1

Please sign in to comment.