Skip to content

Commit

Permalink
lint
Browse files Browse the repository at this point in the history
  • Loading branch information
neonphog committed Sep 17, 2024
1 parent 74aee6d commit e4ebe37
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions zomes/remote_signal/coordinator/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ fn init() -> ExternResult<InitCallbackResult> {
#[hdk_extern]
fn signal_request(msg: TimedMessage) -> ExternResult<()> {
let to = vec![msg.responder().clone()];
send_remote_signal(&ExternIO::encode(msg).map_err(|e| wasm_error!(e))?, to)
send_remote_signal(ExternIO::encode(msg).map_err(|e| wasm_error!(e))?, to)
}

#[hdk_extern]
Expand All @@ -30,7 +30,7 @@ fn recv_remote_signal(signal: ExternIO) -> ExternResult<()> {
if let TimedMessage::TimedRequest { .. } = r {
let r = r.to_response(sys_time()?);
let to = vec![r.requester().clone()];
send_remote_signal(&ExternIO::encode(r).map_err(|e| wasm_error!(e))?, to)?;
send_remote_signal(ExternIO::encode(r).map_err(|e| wasm_error!(e))?, to)?;
}
Ok(())
}

0 comments on commit e4ebe37

Please sign in to comment.