mirror of
https://github.com/comit-network/xmr-btc-swap.git
synced 2025-12-17 17:44:02 -05:00
Add functionality to open monero wallet through rpc
This commit is contained in:
parent
62605a318a
commit
dac4443bbd
3 changed files with 47 additions and 2 deletions
|
|
@ -207,6 +207,11 @@ pub trait CreateWalletForOutput {
|
|||
) -> anyhow::Result<()>;
|
||||
}
|
||||
|
||||
#[async_trait]
|
||||
pub trait OpenWallet {
|
||||
async fn open_wallet(&self, file_name: &str) -> anyhow::Result<()>;
|
||||
}
|
||||
|
||||
#[async_trait]
|
||||
pub trait CreateWallet {
|
||||
async fn create_wallet(&self, file_name: &str) -> anyhow::Result<()>;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue