No need for jsonrpc to do this manually

This commit is contained in:
Floris Bruynooghe
2023-03-08 16:24:24 +01:00
committed by link2xt
parent 32a7e5ed82
commit 52fa58a3ce

View File

@@ -1325,7 +1325,6 @@ impl CommandApi {
passphrase: Option<String>,
) -> Result<()> {
let ctx = self.get_context(account_id).await?;
ctx.stop_io().await;
let result = imex::imex(
&ctx,
imex::ImexMode::ExportBackup,
@@ -1333,7 +1332,6 @@ impl CommandApi {
passphrase,
)
.await;
ctx.start_io().await;
result
}