fix stay_awake.rs
This commit is contained in:
parent
9a8deb4c98
commit
2ee973e63b
|
@ -31,7 +31,7 @@ pub async fn request_repeater(ss: SP, conn: Pool<SqliteConnectionManager>) -> io
|
||||||
|
|
||||||
let key = USK {
|
let key = USK {
|
||||||
ssk: parsed.private_key.clone(),
|
ssk: parsed.private_key.clone(),
|
||||||
path: format!("{}/{}", &id, &index + 2),
|
path: format!("{}/{}", &id, &index),
|
||||||
};
|
};
|
||||||
log::debug!("sending {:?}", &key.convert());
|
log::debug!("sending {:?}", &key.convert());
|
||||||
match ss.send(PackedMessage::ToFreenet(
|
match ss.send(PackedMessage::ToFreenet(
|
||||||
|
@ -39,7 +39,7 @@ pub async fn request_repeater(ss: SP, conn: Pool<SqliteConnectionManager>) -> io
|
||||||
KEY::USK(
|
KEY::USK(
|
||||||
key
|
key
|
||||||
),
|
),
|
||||||
&format!("new-message-{}/{}", &id, &index + 2)[..], // TODO create Identifier type
|
&format!("new-message-{}/{}", &id, &index)[..], // TODO create Identifier type
|
||||||
ReturnType::Direct,
|
ReturnType::Direct,
|
||||||
)
|
)
|
||||||
.convert(),
|
.convert(),
|
||||||
|
|
Loading…
Reference in a new issue