mirror of
https://github.com/comit-network/xmr-btc-swap.git
synced 2025-11-29 12:06:35 -05:00
feat: add wallet database migration from older bdk
- upgrades to bdk 0.24 #1198 - adds a regression test for opening older wallets #1183 - adds a migration for older wallets that encounter the ChecksumMismatch error #1182
This commit is contained in:
parent
496482d302
commit
cd3ba4905a
18 changed files with 192 additions and 220 deletions
|
|
@ -373,8 +373,8 @@ mod tests {
|
|||
|
||||
#[tokio::test]
|
||||
async fn calculate_transaction_weights() {
|
||||
let alice_wallet = WalletBuilder::new(Amount::ONE_BTC.as_sat()).build();
|
||||
let bob_wallet = WalletBuilder::new(Amount::ONE_BTC.as_sat()).build();
|
||||
let alice_wallet = WalletBuilder::new(Amount::ONE_BTC.to_sat()).build();
|
||||
let bob_wallet = WalletBuilder::new(Amount::ONE_BTC.to_sat()).build();
|
||||
let spending_fee = Amount::from_sat(1_000);
|
||||
let btc_amount = Amount::from_sat(500_000);
|
||||
let xmr_amount = crate::monero::Amount::from_piconero(10000);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue