mirror of
https://github.com/comit-network/xmr-btc-swap.git
synced 2025-01-12 16:09:29 -05:00
Store monero wallet at certain states
This commit is contained in:
parent
e4410bcf44
commit
d73dd56974
@ -45,8 +45,6 @@ where
|
||||
.await?;
|
||||
}
|
||||
|
||||
swap.monero_wallet.store().await?;
|
||||
|
||||
Ok(current_state)
|
||||
}
|
||||
|
||||
@ -148,6 +146,8 @@ where
|
||||
)
|
||||
})?;
|
||||
|
||||
monero_wallet.store().await?;
|
||||
|
||||
AliceState::XmrLocked {
|
||||
monero_wallet_restore_blockheight,
|
||||
transfer_proof,
|
||||
@ -354,6 +354,8 @@ where
|
||||
)
|
||||
.await?;
|
||||
|
||||
monero_wallet.store().await?;
|
||||
|
||||
AliceState::XmrRefunded
|
||||
}
|
||||
AliceState::BtcPunishable {
|
||||
|
Loading…
Reference in New Issue
Block a user