diff --git a/src/eth.rs b/src/eth.rs index 9ce6133..3acc74c 100644 --- a/src/eth.rs +++ b/src/eth.rs @@ -207,7 +207,7 @@ where /// instance that is then run: a resumed subscription borrows that instance's /// IM buffers, and constructing an `InteractionModel` clears the /// subscriptions table. - pub async fn startup(&mut self, crypto: C, store: S) -> Result<(), Error> + pub async fn startup(&self, crypto: C, store: S) -> Result<(), Error> where C: Crypto, S: KvBlobStore, diff --git a/src/wireless.rs b/src/wireless.rs index 9a4a33b..275c3d3 100644 --- a/src/wireless.rs +++ b/src/wireless.rs @@ -642,7 +642,7 @@ where /// instance that is then run: a resumed subscription borrows that instance's /// IM buffers, and constructing an `InteractionModel` clears the /// subscriptions table. - pub async fn startup(&mut self, crypto: C, store: S) -> Result<(), Error> + pub async fn startup(&self, crypto: C, store: S) -> Result<(), Error> where C: Crypto, S: KvBlobStore,