mirror of
https://github.com/comit-network/xmr-btc-swap.git
synced 2025-01-11 15:39:37 -05:00
Merge #1428
1428: Fix issue where Windows cannot open ASB wallet to create lock XMR transaction r=delta1 a=pokkst It seems on Windows that opening an already opened wallet results in an error/crash. This does not seem to be the case for Linux and macOS. Removing this line fixed the issue on Windows, and had no regressions on macOS/Linux from my testing. Co-authored-by: pokkst <pokkst@protonmail.com>
This commit is contained in:
commit
d0a35ab21b
@ -174,11 +174,6 @@ impl Wallet {
|
|||||||
pub async fn transfer(&self, request: TransferRequest) -> Result<TransferProof> {
|
pub async fn transfer(&self, request: TransferRequest) -> Result<TransferProof> {
|
||||||
let inner = self.inner.lock().await;
|
let inner = self.inner.lock().await;
|
||||||
|
|
||||||
inner
|
|
||||||
.open_wallet(self.name.clone())
|
|
||||||
.await
|
|
||||||
.with_context(|| format!("Failed to open wallet {}", self.name))?;
|
|
||||||
|
|
||||||
let TransferRequest {
|
let TransferRequest {
|
||||||
public_spend_key,
|
public_spend_key,
|
||||||
public_view_key,
|
public_view_key,
|
||||||
|
Loading…
Reference in New Issue
Block a user