Merge branch 'rpc-server' of https://github.com/yamabiiko/xmr-btc-swap into rpc-server

This commit is contained in:
binarybaron 2023-09-24 19:50:42 +02:00
commit d7b0d068b6
3 changed files with 32 additions and 62 deletions

View file

@ -123,7 +123,7 @@ impl SwapLock {
// workaround for warning over monero_rpc_process which we must own but not read
#[allow(dead_code)]
pub struct Context {
db: Arc<dyn Database + Send + Sync>,
pub db: Arc<dyn Database + Send + Sync>,
bitcoin_wallet: Option<Arc<bitcoin::Wallet>>,
monero_wallet: Option<Arc<monero::Wallet>>,
monero_rpc_process: Option<monero::WalletRpcProcess>,