Przeglądaj źródła

Add a moderator_pk for a participant data

develop
Silvestr Predko 2 lat temu
rodzic
commit
eced5c0b9d
1 zmienionych plików z 6 dodań i 0 usunięć
  1. 6
    0
      common-api/src/api.rs

+ 6
- 0
common-api/src/api.rs Wyświetl plik

@@ -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
 

Ładowanie…
Anuluj
Zapisz