Return wallet descriptor to RPC API caller

This commit is contained in:
binarybaron 2023-08-11 15:39:46 +02:00
parent ffbbe24010
commit f804254f94

View file

@ -511,7 +511,7 @@ impl Request {
let wallet_export = bitcoin_wallet.wallet_export("cli").await?; let wallet_export = bitcoin_wallet.wallet_export("cli").await?;
tracing::info!(descriptor=%wallet_export.to_string(), "Exported bitcoin wallet"); tracing::info!(descriptor=%wallet_export.to_string(), "Exported bitcoin wallet");
Ok(json!({ Ok(json!({
"result": [] "descriptor": wallet_export.to_string(),
})) }))
} }
Method::MoneroRecovery {swap_id} => { Method::MoneroRecovery {swap_id} => {