ソースを参照

Add a moderator_pk for a participant data

develop
Silvestr Predko 2年前
コミット
eced5c0b9d
1個のファイルの変更6行の追加0行の削除
  1. 6
    0
      common-api/src/api.rs

+ 6
- 0
common-api/src/api.rs ファイルの表示

@@ -12,6 +12,12 @@ pub struct PublicKeys {
12 12
 #[derive(Clone, Debug, Serialize, Deserialize)]
13 13
 pub struct ExchangeMessage {
14 14
     pub account_id: AccountId,
15
+    pub message: Data,
16
+}
17
+
18
+#[derive(Clone, Debug, Serialize, Deserialize)]
19
+pub struct Data {
20
+    pub moderator_pk: AccountId,
15 21
     pub data: Vec<u8>,
16 22
 }
17 23
 

読み込み中…
キャンセル
保存