From 41a3174cba09f9b8336ee3acdc426bbf4da05c75 Mon Sep 17 00:00:00 2001 From: Doug Anderson444 Date: Fri, 1 Mar 2024 23:33:10 -0400 Subject: [PATCH] fix test --- crates/peerpiper-wallet/tests/mod.rs | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/crates/peerpiper-wallet/tests/mod.rs b/crates/peerpiper-wallet/tests/mod.rs index 728e63f..9d95c44 100644 --- a/crates/peerpiper-wallet/tests/mod.rs +++ b/crates/peerpiper-wallet/tests/mod.rs @@ -106,6 +106,11 @@ impl bindgen::peerpiper::wallet::wurbo_in::Host for MyCtx { fn set_hash(&mut self, _hash: String) -> wasmtime::Result<()> { Ok(()) } + + /// Emits an event (stub) + fn emit(&mut self, _event: String) -> wasmtime::Result<()> { + Ok(()) + } } #[derive(Error, Debug)]