Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
bkolad authored Oct 10, 2023
1 parent e36522f commit 73bc818
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion module-system/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -331,7 +331,7 @@ For more information on `Context` and `Spec`, and to see some example implementa


### Module CallMessage and `schemars::JsonSchema`.
Like in the `bank` module the `CallMessage` can be parameterized by `C::Context`. To ensure a smooth wallet experience, we need the `CallMessag`' to implement `schemars::JsonSchema` trait. However, simply adding `derive(schemars::JsonSchema)` to the `CallMessage` definition results in the following error:
Like in the `bank` module the `CallMessage` can be parameterized by `C::Context`. To ensure a smooth wallet experience, we need the `CallMessage` to implement `schemars::JsonSchema` trait. However, simply adding `derive(schemars::JsonSchema)` to the `CallMessage` definition results in the following error:

```
the trait JsonSchema is not implemented for C
Expand Down

0 comments on commit 73bc818

Please sign in to comment.