Skip to content

Commit

Permalink
fixup! cln-plugin: Get started with the plugin interface
Browse files Browse the repository at this point in the history
  • Loading branch information
cdecker committed Jan 21, 2022
1 parent cd22200 commit c33bd1b
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions plugins/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -52,9 +52,7 @@ where

pub async fn run(self) -> Result<(), Error> {
let (plugin, input) = self.build();
tokio::task::spawn(plugin.run(input));
tokio::time::sleep(std::time::Duration::from_secs(300)).await;
unimplemented!()
plugin.run(input).await
}

pub fn build(self) -> (Plugin<S, I, O>, I) {
Expand Down

0 comments on commit c33bd1b

Please sign in to comment.