diff --git a/crates/onionwire-sdk/src/lib.rs b/crates/onionwire-sdk/src/lib.rs index 15d776e..b55221d 100644 --- a/crates/onionwire-sdk/src/lib.rs +++ b/crates/onionwire-sdk/src/lib.rs @@ -450,7 +450,7 @@ impl Wire { /// the client. An empty result means nothing is outstanding for that friend. pub async fn outbox(&self, pubkey_hex: String) -> WResult> { let pk = unhex(&pubkey_hex)?; - let rows = self.node()?.outbox_pending(&pk).map_err(WireError::new)?; + let rows = self.inner.outbox_pending(&pk).map_err(WireError::new)?; Ok(rows.iter().map(outbox_row).collect()) }