Store monero wallet at certain states

This commit is contained in:
pokkst 2023-09-29 11:04:21 -05:00
parent e4410bcf44
commit d73dd56974
No known key found for this signature in database
GPG Key ID: 90C2ED85E67A50FF

View File

@ -45,8 +45,6 @@ where
.await?; .await?;
} }
swap.monero_wallet.store().await?;
Ok(current_state) Ok(current_state)
} }
@ -148,6 +146,8 @@ where
) )
})?; })?;
monero_wallet.store().await?;
AliceState::XmrLocked { AliceState::XmrLocked {
monero_wallet_restore_blockheight, monero_wallet_restore_blockheight,
transfer_proof, transfer_proof,
@ -354,6 +354,8 @@ where
) )
.await?; .await?;
monero_wallet.store().await?;
AliceState::XmrRefunded AliceState::XmrRefunded
} }
AliceState::BtcPunishable { AliceState::BtcPunishable {