mirror of
https://github.com/logos-messaging/logos-messaging-rust-bindings.git
synced 2026-01-07 00:13:10 +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
|
// subscribe to default channel
|
||||||
node.relay_subscribe(None)?;
|
node.relay_subscribe(None)?;
|
||||||
let content_topic = WakuContentTopic {
|
let content_topic = WakuContentTopic::new("toychat", 2, "huilong", Encoding::Proto);
|
||||||
application_name: "toychat".to_string(),
|
|
||||||
version: 2,
|
|
||||||
content_topic_name: "huilong".to_string(),
|
|
||||||
encoding: Encoding::Proto,
|
|
||||||
};
|
|
||||||
|
|
||||||
let message = WakuMessage::new(
|
let message = WakuMessage::new(
|
||||||
content,
|
content,
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user