mirror of
https://github.com/logos-messaging/logos-messaging-rust-bindings.git
synced 2026-01-02 14:03:12 +00:00
Fix test
This commit is contained in:
parent
57776600f5
commit
f284165a1b
@ -83,12 +83,7 @@ pub fn main() -> Result<(), String> {
|
||||
|
||||
// subscribe to default channel
|
||||
node.relay_subscribe(None)?;
|
||||
let content_topic = WakuContentTopic {
|
||||
application_name: "toychat".to_string(),
|
||||
version: 2,
|
||||
content_topic_name: "huilong".to_string(),
|
||||
encoding: Encoding::Proto,
|
||||
};
|
||||
let content_topic = WakuContentTopic::new("toychat", 2, "huilong", Encoding::Proto);
|
||||
|
||||
let message = WakuMessage::new(
|
||||
content,
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user